congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Router
Code IndexAdd Tabnine to your IDE (free)

How to use
Router
in
cn.droidlover.xdroidmvp.router

Best Java code snippets using cn.droidlover.xdroidmvp.router.Router (Showing top 20 results out of 315)

origin: limedroid/XDroidMvp

public static Router newIntent(Activity context) {
  Router router = new Router();
  router.from = context;
  return router;
}
origin: limedroid/XDroidMvp

public static void launch(Activity activity) {
  Router.newIntent(activity)
      .to(AboutActivity.class)
      .data(new Bundle())
      .launch();
}
origin: limedroid/XDroidMvp

public Router putInt(@Nullable String key, int value) {
  getBundleData().putInt(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public static void launch(Activity activity, String url, String desc) {
  Router.newIntent(activity)
      .to(WebActivity.class)
      .putString(PARAM_URL, url)
      .putString(PARAM_DESC, desc)
      .launch();
}
origin: limedroid/XDroidMvp

public Router putFloat(@Nullable String key, float value) {
  getBundleData().putFloat(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putString(@Nullable String key, String value) {
  getBundleData().putString(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putParcelable(@Nullable String key, @Nullable Parcelable value) {
  getBundleData().putParcelable(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putSerializable(@Nullable String key, @Nullable Serializable value) {
  getBundleData().putSerializable(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putParcelableArrayList(@Nullable String key,
                   @Nullable ArrayList<? extends Parcelable> value) {
  getBundleData().putParcelableArrayList(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putShort(@Nullable String key, short value) {
  getBundleData().putShort(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putCharSequenceArrayList(@Nullable String key,
                    @Nullable ArrayList<CharSequence> value) {
  getBundleData().putCharSequenceArrayList(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putDouble(@Nullable String key, double value) {
  getBundleData().putDouble(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putCharSequence(@Nullable String key, @Nullable CharSequence value) {
  getBundleData().putCharSequence(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putBundle(@Nullable String key, Bundle bundle) {
  getBundleData().putBundle(key, bundle);
  return this;
}
origin: limedroid/XDroidMvp

public Router putParcelableArray(@Nullable String key, @Nullable Parcelable[] value) {
  getBundleData().putParcelableArray(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putIntegerArrayList(@Nullable String key, @Nullable ArrayList<Integer> value) {
  getBundleData().putIntegerArrayList(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putStringArrayList(@Nullable String key, @Nullable ArrayList<String> value) {
  getBundleData().putStringArrayList(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putByte(@Nullable String key, byte value) {
  getBundleData().putByte(key, value);
  return this;
}
origin: limedroid/XDroidMvp

public Router putChar(@Nullable String key, char value) {
  getBundleData().putChar(key, value);
  return this;
}
origin: limedroid/XDroidMvp

intent.putExtras(getBundleData());
cn.droidlover.xdroidmvp.routerRouter

Javadoc

Created by wanglei on 2016/11/29.

Most used methods

  • <init>
  • data
  • getBundleData
  • launch
  • newIntent
  • putString
  • to

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now