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)
Attachment actions
Unintended behavior
View staffing
Description
Version used:
Devices/Android versions reproduced on: all
If this is a bug in the library, we would appreciate if you could attach:
- Sample project to trigger the issue.
- A screenrecord or screenshots showing the issue (if UI related).
when I want to use ViewPager2 and Fragmet at the same time , ViewPager2 will cache pre and next page ,so it lead to the observer is onPause State , but i dont want it can refresh data by livedata , i know can create new bool to judge it is Visible ,why not make lifecycle state ONCREATED when the fragment is onPause ?
the img is the source of Lifecycle (androidx.lifecycle ) method name is getTargetState() , Can you answer my confusion?
thanks