WAI
Status Update
Comments
il...@google.com <il...@google.com> #2
Over to Ralston to take a look. I imagine with the new relocation logic it should be fixed?
re...@gmail.com <re...@gmail.com> #3
What is happening here is that the TextField does not know that it is in a scrollable container, and since the keyboard is going to hide the currently focused text, the text field calls View.requestRectangleOnScreen which causes the entire app to pan up, and that clips the top bar.
The Relocation APIs are experimental right now. It is not used in TextField as we are past the alpha stage and can only use stable APIs in TextField. So this bug can only be fixed post 1.0
re...@gmail.com <re...@gmail.com> #4
This should be fixed by
I verified that this sample code now works when soft input mode is AdjustResize.
il...@google.com <il...@google.com> #5
Inner classes are referenced as OuterClass$InnerClass, not as OuterClass.InnerClass (for more discussion see answers such as https://stackoverflow.com/a/11388863/1676363 ). Changing your argument to properly reference the inner class fixed the ClassNotFoundException.
However, in fixing that problem, I discovered another issue where the code generated by Safe Args does not properly handle static inner classes, generating invalid code. I've filedhttps://issuetracker.google.com/issues/123736741 to track that issue - please feel free to star the issue to track its progress.
However, in fixing that problem, I discovered another issue where the code generated by Safe Args does not properly handle static inner classes, generating invalid code. I've filed
re...@gmail.com <re...@gmail.com> #6
I know that and it makes sense, but I was not sure how the navigation component worked when setting the references. I would still say there is a bug in the Navigation Editor in AS, please correct me if I am mistaken? I opened a new issue regarding that: https://issuetracker.google.com/u/1/issues/123776985
re...@gmail.com <re...@gmail.com> #7
Thank you for fixing the issue so fast!
Description
Version used: 1.0.0-alpha09
Devices/Android versions reproduced on: Tried on Huawei P20 Lite / Android 8.0. But I am confident it will crash on all phones
If you want to pass a Parcelable object, using the <arguments/> tag, that is an inner static class the app will crash with a java.lang.RuntimeException: java.lang.ClassNotFoundException.
This can be reproduced easily with any public inner static class.
In my example I want to pass this:
<argument android:name="resendToken" app:argType="com.google.firebase.auth.PhoneAuthProvider.ForceResendingToken" app:nullable="true"/>
This fails the moment when the application tries to load the graph where this argument is defined.
The exact exception:
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.auth.PhoneAuthProvider.ForceResendingToken" on path: DexPathList