androidx.recyclerview.selection.ItemKeyProvider Java Examples

The following examples show how to use androidx.recyclerview.selection.ItemKeyProvider. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ThreadOverviewItemKeyProvider.java    From lttrs-android with Apache License 2.0 4 votes vote down vote up
public ThreadOverviewItemKeyProvider(ThreadOverviewAdapter adapter) {
    super(ItemKeyProvider.SCOPE_MAPPED);
    this.threadOverviewAdapter = adapter;
}
 
Example #2
Source File: ItemKeyProviderMessage.java    From FairEmail with GNU General Public License v3.0 4 votes vote down vote up
ItemKeyProviderMessage(RecyclerView recyclerView) {
    super(ItemKeyProvider.SCOPE_CACHED);
    this.recyclerView = recyclerView;
}
 
Example #3
Source File: SelectableCardsAdapter.java    From material-components-android with Apache License 2.0 4 votes vote down vote up
KeyProvider(RecyclerView.Adapter<RecyclerView.ViewHolder> adapter) {
  super(ItemKeyProvider.SCOPE_MAPPED);
}