Vertical Viewpager on newest Android Support Library gives Errors
Asked Answered
N

0

6

I am using the VerticalViewpager by Jake Wharton but it gives Errors with the newest Android Support Library:

package android.support.v4.view;

public final class VerticalViewPagerCompat {
private VerticalViewPagerCompat() {}

  public interface DataSetObserver extends PagerAdapter.DataSetObserver {}

  public static void setDataSetObserver(PagerAdapter adapter, DataSetObserver observer) {
    adapter.setDataSetObserver(observer);
  }
}

The Error is "PagerAdapter.DataSetObserver cannot be resolved to a type". The newest support libraries have changed the behaviour of DataSetObserver and the Vertical Viewpager does not work anymore. Does anyone know how to work around this issue?

Nims answered 21/12, 2012 at 6:56 Comment(3)
HI. Did you managed to fix this issue ?thanksBrunk
Nope, sorry I did not, we started using the viewFlip library and there was no need for this feature anymoreNims
Check this out, appearantly they fixed it! Untested though #10720776Nims

© 2022 - 2024 — McMap. All rights reserved.