Class Overview
An extension of a NormalActionBarItem
that supports a loading states.
When in loading state, a LoaderActionBarItem
display an indeterminate
circular ProgressBar. This item is very handful with application fetching
data from the network or performing long background tasks.
Public Constructors
public
LoaderActionBarItem
()
Public Methods
public
void
setLoading
(boolean loading)
Parameters
loading
| The new loading state. If true, an indeterminate
ProgressBar is displayed. When false (default value) the
ActionBarItem behaves exactly like a regular
NormalActionBarItem .
|
Protected Methods
protected
View
createItemView
()
protected
void
onItemClicked
()
protected
void
prepareItemView
()