Package 

Class RouterPagerAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      RouterPagerAdapter(Controller host) Creates a new RouterPagerAdapter using the passed host.
    • Method Summary

      Modifier and Type Method Description
      void setMaxPagesToStateSave(int maxPagesToStateSave) Sets the maximum number of pages that will have their states saved.
      abstract void configureRouter(@NonNull() Router router, int position) Called when a router is instantiated.
      Object instantiateItem(ViewGroup container, int position)
      void destroyItem(@NonNull() ViewGroup container, int position, @NonNull() Object object)
      void setPrimaryItem(@NonNull() ViewGroup container, int position, @NonNull() Object object)
      boolean isViewFromObject(@NonNull() View view, @NonNull() Object object)
      Parcelable saveState()
      void restoreState(Parcelable state, ClassLoader loader)
      Router getRouter(int position) Returns the already instantiated Router in the specified position or {@code null} if thereis no router associated with this position.
      long getItemId(int position)
      • Methods inherited from class androidx.viewpager.widget.PagerAdapter

        destroyItem, finishUpdate, getCount, getItemPosition, getPageTitle, getPageWidth, instantiateItem, isViewFromObject, notifyDataSetChanged, registerDataSetObserver, restoreState, saveState, setPrimaryItem, startUpdate, unregisterDataSetObserver
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait