android - Access Activity from ContentView -
how can access activity it's contentview? contentview custom layout implementation.
i interpreting "custom layout implementation" having created custom subclass of view
.
any subclass of view
can call getcontext()
which, in normal cases, return activity
hosts view
.
Comments
Post a Comment