Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the layout file accordingly #231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rayworks
Copy link

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)

@rayworks
Copy link
Author

Hi @jigar-sable any plan to merge the code?

@jigar-sable
Copy link

jigar-sable commented May 19, 2021

Hi @jigar-sable any plan to merge the code?

Yeah @rayworks as layout file has component according to androidx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants