ContextImpl
is the canonical Context
implementation class. It has many ways for initializing its mResources
member variable which can be then accessed with getResources()
.
Context
s following the usual Activity
– ContextThemeWrapper
– ContextWrapper
inheritance path delegate getResources()
to the base context. The base context is set up as ContextImpl
instance when the activity is created.
0
solved Where is the getResources() method implemented?