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.BeeFramework.activity.BaseActivity.java

@SuppressLint("NewApi")
public class BaseActivity extends Activity implements Handler.Callback {
    public Handler mHandler;

    public BaseActivity() {

From source file ti.modules.titanium.geolocation.TiLocation.java

public class TiLocation implements Handler.Callback {
    public static final int ERR_POSITION_UNAVAILABLE = 6;
    public static final int MSG_FIRST_ID = 100;
    public static final int MSG_LOOKUP = MSG_FIRST_ID + 1;
    public static final int MSG_LAST_ID = MSG_FIRST_ID + 2;

From source file it.gulch.linuxday.android.fragments.TrackScheduleListFragment.java

public class TrackScheduleListFragment extends ListFragment implements Handler.Callback {
    private static final String TAG = TrackScheduleListFragment.class.getSimpleName();

    private EventManager eventManager;

    private static final int EVENTS_LOADER_ID = 1;

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

/**
 * Created by eneim on 1/6/16.
 */
public abstract class ListFragment<E> extends BaseFragment
        implements SwipeRefreshLayout.OnRefreshListener, Handler.Callback, Callback<List<E>> {

From source file org.mrquiz.android.tinyurl.SendTinyUrlActivity.java

public class SendTinyUrlActivity extends Activity implements Runnable, Handler.Callback {

    static final int HANDLE_URL = 1;

    static final int HANDLE_ERROR = 2;

From source file com.example.crudcontent.fragment.EditCityFragment.java

/**
 * A simple {@link Fragment} subclass.
 */
public class EditCityFragment extends Fragment implements Handler.Callback, BasicCRUDLoader.Callback,
        DatePickerDialogFragment.DatePickerDialogFragmentListener {

From source file org.peterbaldwin.client.android.tinyurl.SendTinyUrlActivity.java

public class SendTinyUrlActivity extends Activity
        implements View.OnClickListener, DialogInterface.OnClickListener, Runnable, Handler.Callback {

    static final int HANDLE_URL = 1;

    static final int HANDLE_ERROR = 2;

From source file nuclei.task.TaskPool.java

/**
 * A task pool to execute a set of tasks.
 *
 * When two tasks with the same ID are attempted to run simultaneously, the first
 * executing task goes first, and once it's complete, the other task is allowed to run.
 */

From source file at.andreasrohner.spartantimelapserec.BackgroundService.java

public class BackgroundService extends Service implements SurfaceHolder.Callback, Handler.Callback {
    private static final String TAG = "BackgroundService";
    private static final int NOTIFICATION_ID = 95430432;
    private static boolean created;
    private SurfaceView surfaceView;
    private WakeLock wakeLock;

From source file io.oceanos.shaderbox.ShaderEditorActivity.java

public class ShaderEditorActivity extends FragmentActivity implements ShaderDialogListener, Handler.Callback {
    private ShaderDatabase database;
    private ShaderEditor editor;
    private ShaderGLView shaderView;
    private ShaderRenderer renderer;
    private Shader shader;