RecyclerViewやめた

This commit is contained in:
ろむねこ 2023-12-11 12:46:10 +09:00
parent 28d2eaa527
commit d36195c89b
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 20 additions and 3 deletions

View File

@ -3,6 +3,7 @@ package one.nem.lacerta.feature.debug;
import android.os.Bundle; import android.os.Bundle;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.RecyclerView;
import android.util.Log; import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
@ -86,4 +87,8 @@ public class DebugSharedPrefEditorFragment extends Fragment {
}); });
} }
public void updateRecyclerView(RecyclerView recyclerView) {
}
} }

View File

@ -112,10 +112,22 @@
android:textSize="24sp" /> android:textSize="24sp" />
</LinearLayout> </LinearLayout>
<androidx.recyclerview.widget.RecyclerView <ScrollView
android:id="@+id/recyclerViewPrefItem"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" /> android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/prefItemTextView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="None" />
</LinearLayout>
</ScrollView>
</LinearLayout> </LinearLayout>