Partager via


CreationCallback<T>.getContext method

Must return the current context in order to call context dependent operations. (e.g. accessing resources and opening UI elements)

Signature

Context getContext();

Returns

A Context object representing the current context.

Defined in

CreationCallback.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)