android-fragments
Android: correct way of jumping between fragments
This is a design question, rather than a technical one. General case: I want an UI event in a Fragment to make Activity-wide changes.[详细]
2023-04-03 13:55 分类:问答Android implement CursorLoader to SQLite database loader
I want to have two ListView in one Activity. I am trying to use Fragments. Data will loaded to ListViews from Sqlite database. I implement AsyncTaskLoader for working with SQllite used source code of[详细]
2023-04-03 13:15 分类:问答Android ViewPager padding/margin between page fragments
Android Market/Google Music seem to be able to开发者_运维百科 have a gap of some sort between the different fragments that are contained in the ViewPager.[详细]
2023-04-03 05:16 分类:问答Fragment Animation like Gmail Honeycomb App
How can I recreate the layout animation affects you see in the Gmail app on Android 3.0+ I know you can use PropertyAnimators, ObjectAnimators, etc., but in my scenario, I have a several fragments on[详细]
2023-04-03 02:56 分类:问答How to set progress dialog to not cancelable when being managed as a fragment?
I\'m using a ProgressDialog managed as a Fragment. Even if I set the ProgressDialog to be non-cancelable, the BACK button will still operate to remove that Fragment from the stack. My inner class look[详细]
2023-04-03 02:11 分类:问答How to use a sliding transition with Compatibility Library v4 Fragment Transactions
All I want is to be able to use FragmentTransaction.replace(...) and have fragments slide into and out of place just like activities, using the default activity animation.[详细]
2023-04-02 22:39 分类:问答Android compatibility package Fragment as inner static class
I\'ve been using the Android compatibility Package but i encountered the following issue, it seems that whenever i create a Fragment as an inner static class on my application and try to start that ac[详细]
2023-04-02 19:33 分类:问答What is the scope of a LoaderManager?
When identifying Loaders in your LoaderManager, you use unique ids. I\'m asking about how unique those ids have to be.[详细]
2023-04-02 17:39 分类:问答Android 1.6 TabHost inside a Fragment
In the demo Support4Demos - API 4+ Support Demos , the Tabs and TabsPager examples both extend FragmentActivity. Each tab content is itself a Fragment. No real breakthrough, TabActivity was used the s[详细]
2023-04-02 15:43 分类:问答can we detect a key is pressed in fragments
I am developing an application in which I want to do some thing when a key is pressed. Can we implement in the fragments.[详细]
2023-04-02 15:20 分类:问答