Android Activity Get isSingleFragmentIntent(Activity activity)

Here you can find the source of isSingleFragmentIntent(Activity activity)

Description

is Single Fragment Intent

License

Open Source License

Declaration

static boolean isSingleFragmentIntent(Activity activity) 

Method Source Code

//package com.java2s;
import android.app.Activity;

import android.os.Bundle;

public class Main {
    public static final String SINGLE_FRAGMENT_ACTIVITY_START_ME_PARAM = "SINGLE_FRAGMENT_ACTIVITY_START_ME_PARAM";

    static boolean isSingleFragmentIntent(Activity activity) {
        Bundle param = activity.getIntent().getBundleExtra(
                SINGLE_FRAGMENT_ACTIVITY_START_ME_PARAM);
        return param != null;
    }/* www.java2  s  .  co  m*/
}

Related

  1. provideNavigationAdapter( Activity activity, String[] items)
  2. getThemeUpIndicator(Object info, Activity activity)
  3. getThemeUpIndicator(Object info, Activity activity)
  4. getActivityMetaData(Activity activity, String key)
  5. getFirstActivityName(Context context, String pkg)