Answers for "how to stop swipe refresh layout in android"

6

swipe to refresh android

implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
Posted by: Guest on June-15-2021
0

how to stop swipe refresh layout in android

if(isRefreshing()){
    handler.postDelayed(this, 1000);
}else{
    swipeLayout.setRefreshing(false);
    mainActivity.forceUpdate();
    setLayout();
}
Posted by: Guest on March-03-2022

Code answers related to "how to stop swipe refresh layout in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language