Skip to content

Usages of ActivityReference

WindSekirun (DongGil, Seo) edited this page May 2, 2018 · 1 revision

Usages: ActivityReference.initialize(this) into Application class

Example:

ActivityReference.getActivtyReference() to get Activity (nullable) ActivityReference.getContext() to get Context (if Activity is available, it will be Activity Context, otherwise it will be Application Context)

Clone this wiki locally