阅读背景:

Android中使用RecyclerView实现多选删除功能以及一些问题

来源:互联网 

实现多选删除功能

界面-RecyclerView 使用的打气筒的界面

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="https://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="horizontal"
    android:layout_marginBottom="22dp"
    android:paddingLeft="22dp"
    android:paddingRight="22dp">
    <CheckBox
        android:id="@+id/item_checked"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="1" />
    <TextView
        android:id="@+id/item_text"
        android:layout_width="0dp"
        android:layout_height="match_parent"
        android:layout_weight="9"
        android:text="内容"
        android:textSize="16sp"
        android:gravity="center"/>
</LinearLayout><?x



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: