public abstract class RealmBaseAdapter<T extends RealmObject>
extends android.widget.BaseAdapter
| Modifier and Type | Field and Description | 
|---|---|
protected android.content.Context | 
context  | 
protected android.view.LayoutInflater | 
inflater  | 
protected RealmResults<T> | 
realmResults  | 
| Constructor and Description | 
|---|
RealmBaseAdapter(android.content.Context context,
                RealmResults<T> realmResults,
                boolean automaticUpdate)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getCount()  | 
T | 
getItem(int i)  | 
long | 
getItemId(int i)  | 
void | 
updateRealmResults(RealmResults<T> realmResults)
Update the RealmResults associated to the Adapter. 
 | 
areAllItemsEnabled, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserverprotected android.view.LayoutInflater inflater
protected RealmResults<T extends RealmObject> realmResults
protected android.content.Context context
public RealmBaseAdapter(android.content.Context context,
                RealmResults<T> realmResults,
                boolean automaticUpdate)
public int getCount()
public T getItem(int i)
public long getItemId(int i)
public void updateRealmResults(RealmResults<T> realmResults)
realmResults - the new RealmResults coming from the new query.