java.lang.Object | |||
↳ | greendroid.widget.item.Item | ||
↳ | greendroid.widget.item.TextItem | ||
↳ | greendroid.widget.item.ProgressItem |
Progress indicator that displays a centered text with a circular and indeterminate ProgressBar when something is in progress.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
isInProgress | The state of this item. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a ProgressItem with the given text.
| |||||||||||
Create a ProgressItem with the given text and state.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Inflate this Item from an XML resource.
| |||||||||||
Return a view that is associated to the current item.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
The state of this item. When set to true, a circular progress bar indicates something is going on/being computed.
Create a ProgressItem with the given text. By default, the circular progress bar is not visible ... which indicates nothing is currently in progress.
text | The text for this item |
---|
Create a ProgressItem with the given text and state.
text | The text for this item |
---|---|
isInProgress | The state for this item |
Inflate this Item from an XML resource.
Return a view that is associated to the current item. The returned view is normally capable of being a good recipient for all item's information.
context | The Context in which the ItemView will be used |
---|---|
parent | The parent View of that new View. The parent is usually the parent ListView and may be used to retrieve the correct LayoutParams type. |