Sunday, March 31, 2013

instantiation of FragmentTransaction object not possble according to the compiler, Android


when I try to instantiate FragmentTransaction() I the the error message:


"can not instantiate the type FragmentTransaction"


in google Android reference it states:


Public Constructors


FragmentTransaction()


so if there is a constructor of FragmentTransaction() then it must be possible to do this,



FragmentTransaction fragtransaction = new FragmentTransaction();


the question is WHY is this not possible?



.

forums.androidcentral.com

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...