Closed powellbird closed 8 years ago
I'm not sure I understand your question. Fragment support was recently implemented by @aveuiller and there's an example of how to use it in the samples directory. I recommend looking at the example code for usage. More details on the issue you're having would be helpful.
thanks for the reply, when analyzing the FragmenFormActivity example, if I add a fragment more to supportfragmentmanager, only the first fragment is displayed in the form and others are not displayed correctly. Could you tell me how to put two or more fragment in the same activity. Thank you
As you can see in the sample, the fragment is here put in the element _fragmentcontainer, which is defined in the layout.
Have you tried creating a new ViewHolder
like a LinearLayout
and putting your second fragment into it with another add in the transaction?
I did already the same for another fragment and only see the first, so try a tablayout with pageradapter and three TABS and it happens that the first TAB displays correct, but others are always blank and does not display correctly form. Greetings.
I have problems in implementing the new feature formFragment because by putting them in a PageAdapter and tablayout only displays the first page but the other tabs are blank, they could help me make the right implementation, thanks