com.c2call.sdk.pub.gui.offerwall.controller.IOfferwallController |
![]() |
Interface for Offerwall Controllers
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract IOfferwallItemControllerFactory |
getItemControllerFactory()
Gets the ControllerFactory to create item controllers.
| ||||||||||
abstract int |
getItemLayout()
Gets the resource id of the item layouts
| ||||||||||
abstract SCViewDescription |
getItemViewDescription()
Gets the ViewdDscription of the items
| ||||||||||
abstract void |
initItemController(int itemLayout, SCViewDescription itemViewDescription, IOfferwallItemControllerFactory itemMediatorFactory)
Initializes an item controller
| ||||||||||
abstract ListAdapter |
onCreateListAdapter(Activity context, int itemLayout, SCViewDescription itemViewDescription, IOfferwallItemControllerFactory itemContorllerFactory)
Called to create a ListAdapter for the offer list
| ||||||||||
abstract void |
onPostRefresh(Map<String, IOffer> items)
Called after the list was refreshed
| ||||||||||
abstract void |
onPreRefresh(Map<String, IOffer> items)
Called befor the list will be refreshed
| ||||||||||
abstract void |
onRefresh(Map<String, IOffer> items)
Called when the offer list should be refreshed
| ||||||||||
abstract void |
refresh()
Refreshes the offer list
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Gets the ControllerFactory to create item controllers.
Gets the resource id of the item layouts
Gets the ViewdDscription of the items
Initializes an item controller
itemLayout | the item's resource id for its layout |
---|---|
itemViewDescription | the ViewDescription of the item |
itemMediatorFactory | the factory to create the Controller |
Called to create a ListAdapter for the offer list
context | the context |
---|---|
itemLayout | the resource id of the layout for list items |
itemViewDescription | the ViewDescription for list items |
itemContorllerFactory | the ControllerFactory for list items |
Called after the list was refreshed
items | the new items |
---|
Called befor the list will be refreshed
items | the new items |
---|
Called when the offer list should be refreshed
items | the new items |
---|
Refreshes the offer list