Fixed
Status Update
Comments
il...@google.com <il...@google.com>
jb...@google.com <jb...@google.com>
cl...@google.com <cl...@google.com> #2
Nested scrolling works partially (as per http://b/122818889 ). Let's discuss if we need full support and if so make sure it works.
ap...@google.com <ap...@google.com> #3
Hi!
What is 'partially' exactly?
How do I see it?
Thanks!
What is 'partially' exactly?
How do I see it?
Thanks!
cl...@google.com <cl...@google.com> #4
As of now:
- Nesting scroll views with a scroll direction perpendicular to the ViewPager2's orientation inside ViewPager2 works
- Nesting scroll views with a scroll direction parallel to the ViewPager2's orientation inside ViewPager2 does not work
- Nesting scroll views with a scroll direction perpendicular to the ViewPager2's orientation inside ViewPager2 works
- Nesting scroll views with a scroll direction parallel to the ViewPager2's orientation inside ViewPager2 does not work
pr...@google.com <pr...@google.com> #5
Horizontal ViewPager2 not correctly working into a vertical RecyclerView
Set a setNestedScrollingEnabled to the RecyclerView into the ViewPager2 (across reflection) resolves the problem
Set a setNestedScrollingEnabled to the RecyclerView into the ViewPager2 (across reflection) resolves the problem
Description
Component used:
androidx.navigation.compose
Version used:
2.6.0
Devices/Android versions reproduced on: Emulator (Resizable, API 33), but seen of many devices in the wild.
Summary
When using the
dialog
extension method to add a navigation destination. If the content inside has aViewModel
that uses theSavedStateHandle
. When the app is sent to the background, killed by the system, and then restored, theSavedStateHandle
is empty.In addition the use of a
rememberSaveable
in the content of thedialog
doesn't restore its value after process death either.Sample Project
A demo project Available on GitHub with reproduction steps.
Screen recording
Screen recording is attached, in which "Don't Keep Activities" is turned on to simulate the process death.