merhold / extensible-page-indicator Goto Github PK
View Code? Open in Web Editor NEWSimple Extensible Page Indicator for Android ViewPager
License: Apache License 2.0
Simple Extensible Page Indicator for Android ViewPager
License: Apache License 2.0
I have this problem when the screen rotate:
FATAL EXCEPTION: main
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.view.ViewPager.removeOnPageChangeListener(android.support.v4.view.ViewPager$OnPageChangeListener)' on a null object reference
at com.merhold.extensiblepageindicator.ExtensiblePageIndicator.onDetachedFromWindow(ExtensiblePageIndicator.java:217)
at android.view.View.dispatchDetachedFromWindow(View.java:13578)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2836)
at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3008)
at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5566)
at android.view.ViewRootImpl.die(ViewRootImpl.java:5543)
at android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:369)
at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:324)
at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:116)
at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:3827)
at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4009)
at android.app.ActivityThread.access$900(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1323)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
just added on jcenter() ,cant add your library white mavenCentral repositories pleas fix it . tanks ๐
Error:Execution failed for task ':MyApp:processDebugManifest'.
> Manifest merger failed : Attribute application@label value=(@string/MyApp) from AndroidManifest.xml:56:9-45
is also present at [com.merhold.extensiblepageindicator:extensiblepageindicator:1.0] AndroidManifest.xml:13:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to <application> element at AndroidManifest.xml:52:5-257:19 to override.
Hi,
I am unable to update my page indicator .. If once it initialize it does not change.
So how can we reinitialize it.
Thanks
Imran
Hello there :)
I have noticed that in your ExtensibleViewPager.java file, inside the initViewPager() method,
you add onPageChangeListener twice - Once on the argument itself, and once on the mViewPager, which has the same reference.
Just thought worth mentioning this to you. Love your library ๐
You did a very bad copy of this library: compile 'com.romandanylyk:pageindicatorview:+'
Your page indicator have a huge bunch of bugs.
added view pager listener a twice
have merge androidmanifest problem
If we have 3 dots and moving from 3 to 2 - we seeing and animation but returning to the 3.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.