SwipeRefreshLayout

constructor(@NonNull context: @NonNull Context)

Simple constructor to use when creating a SwipeRefreshLayout from code.

Parameters

context

constructor(@NonNull context: @NonNull Context, @Nullable attrs: @Nullable AttributeSet)

Constructor that is called when inflating SwipeRefreshLayout from XML.

Parameters

context
attrs