getActivity

Return

the activity you want to get,null otherwise.

Parameters

clazz

the class of the activity you want to get.