aurelhubert / aurelhubert/ahbottomnavigation

'FragmentPagerAdapter' is deprecated?

Open
#433 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
3.8k
Forks
672
PR merge metrics
No merged PRs in 30d

Description

https://github.com/aurelhubert/ahbottomnavigation/blob/master/demo/src/main/java/com/aurelhubert/ahbottomnavigation/demo/DemoViewPagerAdapter.java

class IndexFragmentPagerAdapter(fm: FragmentManager) : FragmentPagerAdapter(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) {

'FragmentPagerAdapter' is deprecated

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with demo/src/main/java/com/aurelhubert/ahbottomnavigation/demo/DemoViewPagerAdapter.java and inspect IndexFragmentPagerAdapter's use of FragmentPagerAdapter. Confirm the deprecation in the current Android support APIs and determine the intended supported migration; done means the demo no longer relies on the deprecated adapter and still builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.