Update the layout file accordingly#231
Open
rayworks wants to merge 1 commit intoAshok-Varma:masterfrom
Open
Conversation
jigar-sable
approved these changes
May 8, 2021
Author
|
Hi @jigar-sable any plan to merge the code? |
Yeah @rayworks as layout file has component according to androidx. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the class cast Exception after androidx migration
Process: com.ashokvarma.bottomnavigation.sample, PID: 22967 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ashokvarma.bottomnavigation.sample/com.ashokvarma.bottomnavigation.sample.HomeActivity}: android.view.InflateException: Binary XML file line #2 in com.ashokvarma.bottomnavigation.sample:layout/activity_home: Binary XML file line #2 in com.ashokvarma.bottomnavigation.sample:layout/activity_home: Error inflating class android.support.design.widget.CoordinatorLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3388) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3527) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2123) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7710) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)