Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.1.0-beta01
Devices/Android versions reproduced on: all
This is a feature request.
FOR GODS SAKE ADD AN ABSTRACT METHOD TO class Adapter<VH extends ViewHolder> to return the current fragment instance
in 90% of cases when someone is using a viewpager that isnt just a simple book moving pages, we will at some point need a reference to the current page to invoke some methods
currently every single project using this library need to extend the class FragmentStateAdapter just to add this method... or even worse there are developpers suggesting to obtain it using some tricks in the fragment tag creation...
PLEASE ADD THIS