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

About a question from android 5&6 #14

Open
c2977440 opened this issue Mar 8, 2021 · 0 comments
Open

About a question from android 5&6 #14

c2977440 opened this issue Mar 8, 2021 · 0 comments

Comments

@c2977440
Copy link

c2977440 commented Mar 8, 2021

HI , I use The latest version of 1.0.0
in my crashlytics log send this crash

Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'int com.google.android.material.tabs.TabLayout.getTabMode()' on a null object reference
com.h6ah4i.android.tablayouthelper.TabLayoutHelper.adjustTabModeInternal

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int com.google.android.material.tabs.TabLayout.getTabMode()' on a null object reference
at com.h6ah4i.android.tablayouthelper.TabLayoutHelper.adjustTabModeInternal(TabLayoutHelper.java:407)
at com.h6ah4i.android.tablayouthelper.TabLayoutHelper$5.run(TabLayoutHelper.java:303)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:179)
at android.app.ActivityThread.main(ActivityThread.java:5650)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:681)

this problem only on the android 5&6 how can i fix this bug?

thank

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

No branches or pull requests

1 participant