android - How to use FragmentLayout without extending Fragment class -
I am creating a piece using a class from another package
// ONCREATE PickKanjiActivity pickKanji = new PickKanjiActivity (); // SOME_METHOD fTrans = getFragmentManager () BeginTransaction (); FTrans.add (RD Framework, Pick Kanji); FTrans.commit ();
But this code is giving the following error:
Adding this method (int, slice) type is not applicable for logic in FragmentTransaction (int ,
/ P>P> But Picnic is already expanding another class
Public class pekary activity KanjiActivity is expanded
Is the piece to make the piece without expanding the piece?
You do not do this Their pecnic activity is an activity, not a piece. You will have to rewrite your code as a piece.
Comments
Post a Comment