nativescript-community / nativescript-community/ui-pager
Android pager content has different loading behaviour than iOS
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
In android, when you navigate to a page with a nested pager, its items will all render at the same time even though the rest of pager items aren't visible.
Pager has different behaviour in iOS however and loads pager items when user actually navigates to them for first time. It seems UICollectionView items are actually lazy-loaded.
I think iOS approach is the best as it doesn't stress UI on pager rendering.
@farfromrefug Do you think android fragments could solve this?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing navigation to a nested pager on Android and compare its loading behavior with iOS. Then inspect the Android pager and fragment handling described in the issue. Done means nested pager items load when first navigated to, rather than all rendering during the initial pager render.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100