public class RemoteResourceListItem extends AbstractHierarchyListItem2 implements Delete, android.view.View.OnClickListener
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler| Modifier and Type | Method and Description |
|---|---|
boolean |
delete()
Execute all delete actions defined in this class
|
<T extends Action> |
getAction(java.lang.Class<T> clazz)
Returns an instance of the specified action that can be used to interact with the node's
underlying content.
|
int |
getDescendantCount()
Returns the total number of descendant nodes that this node has.
|
java.lang.String |
getDescription()
Get the item description (shown in gray under the title)
|
android.view.View |
getExtraView(android.view.View v,
android.view.ViewGroup parent)
Same as
HierarchyListItem.getExtraView() except the existing view is provided
This is to allow more efficient view cycling when scrolling through OM |
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
java.lang.String |
getTitle()
Returns the title to be displayed for the item.
|
java.lang.String |
getType() |
java.lang.String |
getUID()
Returns the unique ID of the list item
|
java.lang.String |
getURL() |
java.lang.Object |
getUserObject()
Returns the user object associated with the node.
|
boolean |
hideIfEmpty()
Count towards parent children if this item's children is empty
|
boolean |
isChildSupported()
Check if list item can contain children
|
boolean |
isValid() |
void |
onClick(android.view.View v) |
protected void |
refreshImpl()
Refresh implementation to be run on a background thread
If your class doesn't need to refresh then override the filter
method above to avoid unnecessary threading
|
async, buildQueryParams, dispose, disposeChildren, disposeItems, find, findChild, getAssociationKey, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getIconColor, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getVisibility, isDisposed, isGetChildrenSupported, isMultiSelectSupported, isVisible, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, setVisible, sortItems, syncRefresh, updateChildrenpublic boolean isValid()
public java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic int getDescendantCount()
HierarchyListItemgetDescendantCount in interface HierarchyListItempublic boolean isChildSupported()
HierarchyListItemisChildSupported in interface HierarchyListItemisChildSupported in class AbstractHierarchyListItem2public boolean hideIfEmpty()
HierarchyListItem2hideIfEmpty in interface HierarchyListItem2public java.lang.String getDescription()
HierarchyListItem2getDescription in interface HierarchyListItem2getDescription in class AbstractHierarchyListItem2public android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public java.lang.Object getUserObject()
HierarchyListItemgetUserObject in interface HierarchyListItemnull.public android.view.View getExtraView(android.view.View v,
android.view.ViewGroup parent)
HierarchyListItem2HierarchyListItem.getExtraView() except the existing view is provided
This is to allow more efficient view cycling when scrolling through OMgetExtraView in interface HierarchyListItem2getExtraView in class AbstractHierarchyListItem2v - The existing extra view. Only inflate a new layout
if the id/context do not match your expected config.parent - The extra view parent - Use this as "root" when inflatingpublic void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic java.lang.String getUID()
HierarchyListItemgetUID in interface HierarchyListItemgetUID in class AbstractHierarchyListItem2protected void refreshImpl()
AbstractHierarchyListItem2refreshImpl in class AbstractHierarchyListItem2public boolean delete()
AbstractHierarchyListItem2delete in interface Deletedelete in class AbstractHierarchyListItem2public <T extends Action> T getAction(java.lang.Class<T> clazz)
HierarchyListItemgetAction in interface HierarchyListItemgetAction in class AbstractHierarchyListItem2clazz - The action classnull if the specified
action is not supported for the node.public java.lang.String getURL()
public java.lang.String getType()