From 01e1103d3d6f6d429533f57e19c0b66961904f80 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 6 Sep 2021 23:19:13 +0800 Subject: Remove unused variables. --- .../infinityforreddit/adapters/Paging3LoadingStateAdapter.java | 7 +++++-- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 5 ----- .../docilealligator/infinityforreddit/fragments/PostFragment.java | 3 +++ app/src/main/res/layout/item_paging_3_load_state.xml | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) (limited to 'app') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/Paging3LoadingStateAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/Paging3LoadingStateAdapter.java index e23dc4dd..0c094f4f 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/Paging3LoadingStateAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/Paging3LoadingStateAdapter.java @@ -4,7 +4,6 @@ import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.widget.Button; import android.widget.ProgressBar; import android.widget.RelativeLayout; import android.widget.TextView; @@ -14,6 +13,8 @@ import androidx.paging.LoadState; import androidx.paging.LoadStateAdapter; import androidx.recyclerview.widget.RecyclerView; +import com.google.android.material.button.MaterialButton; + import ml.docilealligator.infinityforreddit.R; import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper; @@ -43,7 +44,7 @@ public class Paging3LoadingStateAdapter extends LoadStateAdapter refresh()); diff --git a/app/src/main/res/layout/item_paging_3_load_state.xml b/app/src/main/res/layout/item_paging_3_load_state.xml index 321b8e14..4256b33b 100644 --- a/app/src/main/res/layout/item_paging_3_load_state.xml +++ b/app/src/main/res/layout/item_paging_3_load_state.xml @@ -30,7 +30,7 @@ android:textSize="?attr/font_18" android:fontFamily="?attr/font_family" /> -