Status Update
Comments
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #2
Branch: androidx-main
commit 0ceecba883de1438896a21bd94193ad925b1ba76
Author: repo sync -c -j8 <shiufai@google.com>
Date: Mon Mar 29 15:38:46 2021
Ensure Session's lifecycle observer can be added first before Screens.
Bug: 183696617
Relnote: Fixes an issue where `ON_DESTORY` on a `Session` is observed after a `Screen`'s `ON_DESTROY`
Test: ./gradlew :car:app:app:test
Change-Id: I52e01fe22e4e6dc8130735ebae49a1575928ee5a
M car/app/app/src/main/java/androidx/car/app/CarAppService.java
M car/app/app/src/main/java/androidx/car/app/Session.java
M car/app/app/src/test/java/androidx/car/app/CarAppServiceTest.java
il...@google.com <il...@google.com> #3
This should be fixed for the next 1.0.0 release. Thanks for reporting the issue!
b9...@gmail.com <b9...@gmail.com> #4
So when we can expect this promised 1.0.0 release :)? it's been almost month since 1.0.0-rc01. And this is serious issue with lifecycle of library building blocks that would be nice to fix before we gonna send our app to production.
il...@google.com <il...@google.com> #5
11...@gmail.com <11...@gmail.com> #6
Is this the intended way of using `FragmentContainerView` with navigation? Or am I confused(as per usu...)?
Thanks,
Jon.
11...@gmail.com <11...@gmail.com> #7
Changing the name attr only "works" for a single fragment activity. Sorry.
I ended up reverting back to <fragment/> for now.
il...@google.com <il...@google.com> #8
Feel free to star
bi...@mail.de <bi...@mail.de> #9
Please only suggest the lint fix if the <fragment> is inside a FrameLayout and/xor is the only child of the parent layout.
In my case I want to inflate a Fragment provided by some lib in my in some nested LinearLayout and the replacement doesn't make sense at all in this case.
il...@google.com <il...@google.com> #10
Re #9 - You should always, always inflate a fragment into a FragmentContainerView
. There is no exception where you should continue to use <fragment>
. You can, of course, put your FragmentContainerView
in any layout you want, LinearLayout
or otherwise.
Description
Version used: 1.2.0-alpha02
Once FragmentContainerView supports android:name (from