Skip to content

Instantly share code, notes, and snippets.

View jbc25's full-sized avatar
😊
Working from coworking

Julio jbc25

😊
Working from coworking
View GitHub Profile
@cbeyls
cbeyls / MultiChoiceHelper.java
Last active October 28, 2024 18:23
Helper class to reproduce ListView's modal MultiChoice mode with a RecyclerView. Compatible with API 7+.
package be.digitalia.common.widgets;
import android.content.Context;
import android.os.Build;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.NonNull;
import android.support.v4.util.LongSparseArray;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.view.ActionMode;