Codota Logo
BusFactory
Code IndexAdd Codota to your IDE (free)

How to use
BusFactory
in
cn.droidlover.xdroid.event

Best Java code snippets using cn.droidlover.xdroid.event.BusFactory (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: limedroid/XDroid

@Override
protected void onStart() {
  super.onStart();
  if (useEventBus()) {
    BusFactory.getBus().register(this);
  }
}
origin: limedroid/XDroid

@Override
public void onDestroyView() {
  super.onDestroyView();
  BusFactory.getBus().unregister(this);
  getUiDelegate().destory();
}
origin: limedroid/XDroid

  @Override
  protected void onDestroy() {
    super.onDestroy();
    BusFactory.getBus().unregister(this);
    getUiDelegate().destory();
  }
}
origin: limedroid/XDroid

@Override
public void onActivityCreated(@Nullable Bundle savedInstanceState) {
  super.onActivityCreated(savedInstanceState);
  if (useEventBus()) {
    BusFactory.getBus().register(this);
  }
  setListener();
  initData(savedInstanceState);
}
origin: limedroid/XDroid

@Override
public void initData(Bundle savedInstanceState) {
  initToolbar();
  BusFactory.getBus().post(new Event.TestEvent("EventBus测试"));
}
origin: limedroid/XDroid

@Override
protected void onDestoryLazy() {
  super.onDestoryLazy();
  if (useEventBus()) {
    BusFactory.getBus().unregister(this);
  }
  getUiDelegate().destory();
}
origin: limedroid/XDroid

@Override
protected void onCreateViewLazy(Bundle savedInstanceState) {
  super.onCreateViewLazy(savedInstanceState);
  if (getLayoutId() > 0) {
    setContentView(getLayoutId());
    unbinder = KnifeKit.bind(this, getRealRootView());
  }
  if (useEventBus()) {
    BusFactory.getBus().register(this);
  }
  setListener();
  initData(savedInstanceState);
}
cn.droidlover.xdroid.eventBusFactory

Javadoc

Created by wanglei on 2016/12/2.

Most used methods

  • getBus

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now