Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

OnContextAvailableListener

public interface OnContextAvailableListener

androidx.activity.contextaware.OnContextAvailableListener


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

Summary

Public methods

abstract void onContextAvailable(Context context)

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

Public methods

onContextAvailable

public abstract void onContextAvailable (Context context)

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.