Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.gawst.asyncdb.adapter;
 import  android.content.Context;

Basic ListAdapter using a InMemoryDbArrayList data source

<E> Type of the elements stored in the InMemoryDbArrayList
public class InMemoryArrayListAdapter<E> extends InMemoryFilteredListAdapter<E> {

Constructor for the adapter.

context Context used to get the layout inflater.
array The data source, monitored for changes.
layoutResourceId The layout to inflate to display an element. It must contain a TextView element with id unless you inflate the View yourself.
	public InMemoryArrayListAdapter(@NonNull Context context, @NonNull InMemoryDbArrayList<E, ?> array, @LayoutRes int layoutResourceId) {
New to GrepCode? Check out our FAQ X