android-fragments
android:configChanges="orientation" does not work with fragments
I am just trying to adapt some of my applications for HoneyComb. The issue iI am facing is the destruction of my activity on orientation change (landscape/portrait)[详细]
2023-03-30 03:51 分类:问答How to destroy Fragment?
I have one Activity. The Activity has two Fragments. Fragment A is Menu. Fragment B is Detail. I try to Make other Fragment C in Fragment B, so, There are 3 Fragment in the Activity.[详细]
2023-03-29 11:12 分类:问答LoaderCallbacks.onLoadFinished is not called when loader is resused and contains data
I have 1 activity and 2 fragments. Both fragments use a custom AsyncTaskLoader to get some data from a webservice and as i\'m using a Loader it should keep the data across activity and fragment re-cre[详细]
2023-03-28 00:07 分类:问答Unable to instantiate Fragment
Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor that is public[详细]
2023-03-27 18:47 分类:问答How to "activate" a FragmentTab when selected, and not before?
I\'m using FragmentTabsPager, and when my app starts, both tabs initiate net-requests to fetch their content....I would expect th开发者_运维问答e first tab to load onAppStart, and the second tab to lo[详细]
2023-03-27 10:52 分类:问答Android ListFragment individually change row background color
I have a ListFragment where I want certain rows to be a certain color.I basically followed this: Creating a ListView and setting the background color of a view in each row[详细]
2023-03-26 20:57 分类:问答Separate Back Stack for each tab in Android using Fragments
I\'m trying to implement tabs for navigation in an Android app. Since TabActivity and ActivityGroup are deprecated I would like to implement it using Fragments instead.[详细]
2023-03-26 13:56 分类:问答ScrollView in Fragment
I am doing some stuff in Android 3.0 with fragments. In one of the fragments, I need the scroll bar. I tried using a ScrollView, but it does not give me a scroll bar for the fragment.[详细]
2023-03-26 07:07 分类:问答Android: Fragments: setContentView alternative
I\'m trying to rewrite an existing project using fragments to port my application on tablet. I\'m replacing activities with fragments.[详细]
2023-03-25 23:32 分类:问答Error inflating. ResourceNotFound Exception?
I keep getting this error when trying to run this code.... 07-31 10:53:40.840: ERROR/AndroidRuntime(22962): Caused by: java.lang.ClassCastException: com.fttech.shoppingClass cannot be cast to android[详细]
2023-03-25 09:56 分类:问答