Closed janvalji closed 3 years ago
I keep getting this error. can you help me please? @yarolegovich
com.yarolegovich.discretescrollview.DiscreteScrollLayoutManager.checkTargetPosition (DiscreteScrollLayoutManager.java:742) com.yarolegovich.discretescrollview.DiscreteScrollLayoutManager.smoothScrollToPosition (DiscreteScrollLayoutManager.java:365)
My code:
public Runnable sliderRunnable = new Runnable() { @Override public void run() { discretescrollview.smoothScrollToPosition(discretescrollview.getCurrentItem() + 1); } };
I keep getting this error. can you help me please? @yarolegovich
com.yarolegovich.discretescrollview.DiscreteScrollLayoutManager.checkTargetPosition (DiscreteScrollLayoutManager.java:742) com.yarolegovich.discretescrollview.DiscreteScrollLayoutManager.smoothScrollToPosition (DiscreteScrollLayoutManager.java:365)
My code:
public Runnable sliderRunnable = new Runnable() { @Override public void run() { discretescrollview.smoothScrollToPosition(discretescrollview.getCurrentItem() + 1); } };