Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.gawst.asyncdb.adapter;
 
 
 import  android.content.Context;
 import  android.support.annotation.LayoutRes;
 import  android.support.annotation.NonNull;

Basic ListAdapter using a InMemoryDbTreeSet data source

Parameters:
<E> Type of the elements stored in the InMemoryDbTreeSet
public class InMemoryTreeSetAdapter<E> extends InMemoryFilteredTreeAdapter<E> {

Constructor for the adapter.

Parameters:
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 android.R.id.text1 unless you inflate the View yourself.
	public InMemoryTreeSetAdapter(@NonNull Context context, @NonNull InMemoryDbTreeSet<E, ?> array, @LayoutRes int layoutResourceId) {
		super(contextarraylayoutResourceIdnull);
	}
New to GrepCode? Check out our FAQ X