java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

GitHub | songj056 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    用SlidingTabLayout+ViewPager,报java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

    GitHub | 6 months ago | songj056
    java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.support.v4.view.ViewPager.removeOnPageChangeListener

      at com.flyco.tablayout.SlidingTabLayout.setViewPager()
    2. com.flyco.tablayout
      SlidingTabLayout.setViewPager
      1. com.flyco.tablayout.SlidingTabLayout.setViewPager(SlidingTabLayout.java:202)
      1 frame