diff --git a/app/src/main/java/com/common/commonlibtest/MainActivity.java b/app/src/main/java/com/common/commonlibtest/MainActivity.java index f39b57e..c681af4 100644 --- a/app/src/main/java/com/common/commonlibtest/MainActivity.java +++ b/app/src/main/java/com/common/commonlibtest/MainActivity.java @@ -69,6 +69,8 @@ public class MainActivity extends AppCompatActivity { }); }); + binding.clearBtn.setOnClickListener(l -> ImageLoader.INSTANCE.clearAllCache(MainActivity.this)); + binding.btn.setOnClickListener(l -> { List interceptors = new ArrayList<>(); RequestHeadInterceptor.Builder builder = new RequestHeadInterceptor.Builder(); diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 5271a83..383b4a4 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -15,7 +15,7 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintVertical_bias="0.2" /> - + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintVertical_bias="0.53" />