Example usage for android.os Handler.Callback interface-usage

List of usage examples for android.os Handler.Callback interface-usage

Introduction

In this page you can find the example usage for android.os Handler.Callback interface-usage.

Usage

From source file com.chess.genesis.net.SyncClient.java

public class SyncClient implements Runnable, Handler.Callback {
    public final static int MSG = 101;

    public final static int FULL_SYNC = 0;
    public final static int REGULAR_SYNC = 1;
    public final static int ACTIVE_SYNC = 2;

From source file com.chess.genesis.activity.LoginFrag.java

public class LoginFrag extends BaseContentFrag implements Handler.Callback {
    private final static String TAG = "LOGIN";

    private final Handler handle = new Handler(this);
    private NetworkClient net;
    private ProgressMsg progress;

From source file com.chess.genesis.activity.GameListLocalFrag.java

public class GameListLocalFrag extends GameListFrag implements OnItemClickListener, Handler.Callback {
    public final static String TAG = "GAMELISTLOCAL";

    private final Handler handle = new Handler(this);
    private GameListAdapter gamelist_adapter;

From source file com.menumomma.chrome2phone.ShareLinkActivity.java

/**
 * Invoked when user selects "Share page" in the browser. Sends link
 * to AppEngine server.
 */
public class ShareLinkActivity extends Activity implements Handler.Callback {
    private static final int TOAST_MSG = 0;

From source file com.avalond.ad_blocak.vpn.AdVpnService.java

/**
 * @author kevin
 */

public class AdVpnService extends VpnService implements Handler.Callback {
    public static final int VPN_STATUS_STARTING = 0;

From source file com.chess.genesis.activity.UserStatsFrag.java

public class UserStatsFrag extends BaseContentFrag implements Handler.Callback {
    private final static String TAG = "USERSTATS";

    private final static int GEN_RAN = 0;
    private final static int GEN_INV = 1;
    private final static int REG_RAN = 2;

From source file org.jak_linux.dns66.vpn.AdVpnService.java

public class AdVpnService extends VpnService implements Handler.Callback {
    /* The handler may only keep a weak reference around, otherwise it leaks */
    private static class MyHandler extends Handler {
        private final WeakReference<Handler.Callback> callback;

        public MyHandler(Handler.Callback callback) {

From source file com.chess.genesis.activity.Settings.java

public class Settings extends PreferenceActivity implements OnPreferenceChangeListener, OnPreferenceClickListener,
        OnLongClickListener, CallBackPreference.CallBack, Handler.Callback {
    private final Handler handle = new Handler(this);
    private Context context;
    private NetworkClient net;
    private ProgressMsg progress;

From source file im.ene.lab.attiq.ui.fragment.RealmListFragment.java

/**
 * Created by eneim on 12/13/15.
 */
public abstract class RealmListFragment<E extends RealmObject> extends ListFragment<E>
        implements SwipeRefreshLayout.OnRefreshListener, Handler.Callback, Callback<List<E>> {

From source file com.android.contacts.common.vcard.NotificationImportExportListener.java

public class NotificationImportExportListener implements VCardImportExportListener, Handler.Callback {
    /** The tag used by vCard-related notifications. */
    /* package */ static final String DEFAULT_NOTIFICATION_TAG = "VCardServiceProgress";
    /**
     * The tag used by vCard-related failure notifications.
     * <p>