Class ShadowAbsListView

    • Constructor Detail

      • ShadowAbsListView

        public ShadowAbsListView()
    • Method Detail

      • smoothScrollToPosition

        @Implementation
        protected void smoothScrollToPosition​(int position)
      • smoothScrollBy

        @Implementation
        protected void smoothScrollBy​(int distance,
                                      int duration)
      • getOnScrollListener

        public AbsListView.OnScrollListener getOnScrollListener()
        Robolectric accessor for the onScrollListener
        Returns:
        AbsListView.OnScrollListener
      • getSmoothScrolledPosition

        public int getSmoothScrolledPosition()
        Robolectric accessor for the last smoothScrolledPosition
        Returns:
        int position
      • getLastSmoothScrollByDistance

        public int getLastSmoothScrollByDistance()
        Robolectric accessor for the last smoothScrollBy distance
        Returns:
        int distance
      • getLastSmoothScrollByDuration

        public int getLastSmoothScrollByDuration()
        Robolectric accessor for the last smoothScrollBy duration
        Returns:
        int duration