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.

It is not so, you can call it as only one Can not use

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -