public interface

OnRefreshListener

com.droidux.pack.list.interfaces.OnRefreshListener
Known Indirect Subclasses

Class Overview

Interface definition for a callback to be invoked when a view/adapter needs to be refreshed.

Summary

Nested Classes
class OnRefreshListener.Standard Standard implementation of the OnRefreshListener  
Public Methods
abstract void onAfterRefresh()
Called after the refresh task is executed in the background/separate thread.
abstract void onBeforeRefresh()
Called before the refresh task is executed in the background/separate thread.
abstract void refreshInBackground()
Called when the refresh task is executing.

Public Methods

public abstract void onAfterRefresh ()

Since: API Level 2.5

Called after the refresh task is executed in the background/separate thread. This method is called in the UI thread.

public abstract void onBeforeRefresh ()

Since: API Level 2.5

Called before the refresh task is executed in the background/separate thread. This method is called in the UI thread.

public abstract void refreshInBackground ()

Since: API Level 2.5

Called when the refresh task is executing. This method is run in the background thread. Don't call anything in the UI thread in this method.