Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

OnContextAvailableListener

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 Unit
onContextAvailable(@NonNull context: Context)

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

Public methods

onContextAvailable

abstract fun onContextAvailable(@NonNull 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.