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 InMemoryDbTreeSet data source

<E> Type of the elements stored in the InMemoryDbTreeSet
public class InMemoryTreeSetAdapter<E> extends InMemoryFilteredTreeAdapter<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 InMemoryTreeSetAdapter(@NonNull Context context, @NonNull InMemoryDbTreeSet<E, ?> array, @LayoutRes int layoutResourceId) {
New to GrepCode? Check out our FAQ X