requireActivity

Traverses the ContextWrapper chain to find the underlying Activity.

Return

The Activity this context belongs to.

Throws

if this context does not belong to an Activity.