Skip to content

7.1_window_types

水牛 edited this page Nov 20, 2017 · 2 revisions
  • normal show as a dialog

  • if you invoke showAsActivity at last the invoke chain,it will show as a activity

  • if you has not invoke ActivityStackManager.getInstance().addActivity(activity) in ActivityLifecycleCallbacks ,then i will use the context in StyleDialog.context as the window context ,and the type of the window will be set as TYPE_TOAST.