public class ProductInformationAdapter
extends android.widget.BaseAdapter
Modifier and Type | Class and Description |
---|---|
static class |
ProductInformationAdapter.Mode |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
filter(java.lang.String filter) |
void |
filterRepo(java.lang.String filter) |
int |
getCount() |
java.lang.Object |
getItem(int position) |
long |
getItemId(int position) |
ProductInformationAdapter.Mode |
getMode() |
java.util.List<ProductInformation> |
getSelected() |
java.util.List<ProductInformation> |
getUnselected() |
android.view.View |
getView(int position,
android.view.View convertView,
android.view.ViewGroup parent) |
void |
refresh(java.util.List<ProductInformation> products) |
void |
resetSearch() |
void |
search(java.lang.String terms) |
void |
setAllSelected(boolean bSelected) |
void |
setMode(ProductInformationAdapter.Mode mode) |
void |
setPortrait(boolean portrait) |
void |
showAppOverview(ProductInformation app) |
void |
showAppOverview(java.lang.String pkg)
Given a package name, show the application overview information.
|
areAllItemsEnabled, getAutofillOptions, getDropDownView, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetChanged, notifyDataSetInvalidated, registerDataSetObserver, setAutofillOptions, unregisterDataSetObserver
public void setPortrait(boolean portrait)
public void dispose()
public void resetSearch()
public void setMode(ProductInformationAdapter.Mode mode)
public ProductInformationAdapter.Mode getMode()
public void search(java.lang.String terms)
public void filter(java.lang.String filter)
public void filterRepo(java.lang.String filter)
public void setAllSelected(boolean bSelected)
public int getCount()
public java.lang.Object getItem(int position)
public long getItemId(int position)
public android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
public java.util.List<ProductInformation> getSelected()
public java.util.List<ProductInformation> getUnselected()
public void showAppOverview(java.lang.String pkg)
pkg
- given a package attempt to show details about it.public void showAppOverview(ProductInformation app)
public void refresh(java.util.List<ProductInformation> products)