RtlViewPager
RtlViewPager copied to clipboard
ViewPager that displays items from right to left for RTL locales and behaves like a regular ViewPager otherwise
java.lang.IllegalStateException: The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 6, found: 5 Pager id: :id/view_pager_photo Pager class: class PhotoViewPager Problematic adapter: class widget.viewpager.RtlViewPager$ReverseAdapter at...
when l remove any item from adapter at arabic l got this error java.lang.IllegalStateException: The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 5, found:...
` adapter.notifyDataSetChanged ` The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged! Expected adapter item count: 2
I am using your library and facing this issue. ``` Exception java.lang.StackOverflowError: stack size 8MB java.lang.String.compareToIgnoreCase (String.java:361) java.lang.String$CaseInsensitiveComparator.compare (String.java:60) java.lang.String$CaseInsensitiveComparator.compare (String.java:49) java.util.TreeMap.find (TreeMap.java:277) java.util.TreeMap.findByObject (TreeMap.java:351) java.util.TreeMap.get (TreeMap.java:177) java.util.Locale.convertGrandfatheredTag (Locale.java:2122) java.util.Locale.forLanguageTag...
There is problem when adding tabs dynamically it casuse " IllegalStateException: The application's PagerAdapter changed the adapter's content without calling PagerAdapter#notifyDataSetChanged " this commit by @NDrive partially fixes it https://github.com/NDrive/RtlViewPager/commit/8bfe7200aed5132b76c1b4ab784d3ec8d6773e9f...
i am getting this exception ``` android.os.BadParcelableException: at android.os.Parcel.readParcelableCreator (Parcel.java:2546) at android.os.Parcel.readParcelable (Parcel.java:2472) at android.os.Parcel.readValue (Parcel.java:2375) at android.os.Parcel.readSparseArrayInternal (Parcel.java:2823) at android.os.Parcel.readSparseArray (Parcel.java:2078) at android.os.Parcel.readValue (Parcel.java:2432) at android.os.Parcel.readArrayMapInternal (Parcel.java:2742) at android.os.BaseBundle.unparcel...
### Backtrace ```java Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getLeft()' on a null object reference at android.support.design.widget.TabLayout.calculateScrollXForTab(TabLayout.java:1191) at android.support.design.widget.TabLayout.setScrollPosition(TabLayout.java:425) at android.support.design.widget.TabLayout$TabLayoutOnPageChangeListener.onPageScrolled(TabLayout.java:2134) at com.booking.rtlviewpager.RtlViewPager$ReverseOnPageChangeListener.onPageScrolled(RtlViewPager.java:253) at android.support.v4.view.ViewPager.dispatchOnPageScrolled(ViewPager.java:1924) at android.support.v4.view.ViewPager.onPageScrolled(ViewPager.java:1898)...
`PagerAdapterWrapper`should call `super.notifyDataSetChanged()`when a change happens in the wrapped `PageAdapter` otherwise you get the following error: > The application's PagerAdapter changed the adapter's contents without calling PagerAdapter#notifyDataSetChanged
The library's minimum SDK version is 15. This causes an error when the library is included in an app with a lower minimum version. The library code relies on the...
Copyright belongs to Diego Gomez Olvera, but the package has booking.com mentioning. I would consider changing package name and mention that has relation to Booking.com team.