OnContextAvailableListener


fun interface OnContextAvailableListener


Listener for receiving a callback at the first moment a Context is made available to the ContextAware class.

Summary

Public functions

Unit

Called when the ContextAware object this listener was added to is associated to a Context.

Public functions

onContextAvailable

Added in 1.2.0
fun onContextAvailable(context: Context): Unit

Called when the ContextAware object this listener was added to is associated to a Context.

Parameters
context: Context

The Context the ContextAware object is now associated with.