Is there any way to cast android v4 supportFragment to android fragment? -
i did:- extends activity class in class.
fragmentmanager fragment=(fragmentmanager)getsupportfragmentmanager();
but give error.
you can't cast between these 2 classes, suppose compile errors because importing wrong fragmentmanager.
getsupportfragmentmanager returns fragmentmanager class , importing this
Comments
Post a Comment