Class ShadowSwipeRefreshLayout

java.lang.Object
org.robolectric.shadows.ShadowView
org.robolectric.shadows.ShadowViewGroup
org.robolectric.shadows.support.v4.ShadowSwipeRefreshLayout

@Implements(android.support.v4.widget.SwipeRefreshLayout.class)
public class ShadowSwipeRefreshLayout
extends ShadowViewGroup
  • Constructor Details

  • Method Details

    • setOnRefreshListener

      @Implementation protected void setOnRefreshListener​(android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener listener)
    • getOnRefreshListener

      public android.support.v4.widget.SwipeRefreshLayout.OnRefreshListener getOnRefreshListener()
      Returns:
      OnRefreshListener that was previously set.