android-fragments
Fragment with list view is not replacing the list when it should?
I\'m fairly new to Android development so I\'m sorry if I haven\'t given all the information you need. Basically I\'m building a basic file browser but I wanted to try something different out by havin[详细]
2023-04-11 02:12 分类:问答Loader not loading data when source data changes
Android Documentation states that LOADERS - They monitor the source of their data and deliver new results when the content changes. I have changed CursorAdapter to work for a SQLite Database.[详细]
2023-04-10 09:45 分类:问答End animation event android
I have a fadeout animation in a view (which is inside a fragment), and everytime the animation happens, after it finishes the vi开发者_如何学JAVAew redraws itself again. I found a work around doing vi[详细]
2023-04-10 04:46 分类:问答Android Add Fragment Without Transaction
I\'m trying to replace a Fragment with another Fragment dynamically in my activity. It looks like you can\'t replace a fragment statically defined in a layout file, with a dynamically created fragmen[详细]
2023-04-10 04:34 分类:问答How to correctly create a Tablayout now that the Tabactivity is deprecated?
Since the introduction of Fragments the TabActivity is deprecated. The Hello Views TabLayout Tutorial however still uses the TabActivity and the API-Documentation has no clear answer on how to create[详细]
2023-04-09 19:07 分类:问答DialogFragment and back button
Is there any possibility to intercept the key button in DialogFragment? sorry for the naive question.. the onBackPressed of my FragmentActivity is never called.[详细]
2023-04-09 15:57 分类:问答Programmatically accessing a view that is defined in a fragment's XML in Android
I\'m in the process of making an Android 3 app that has a tab-based navigation. Being quite new to Android I searched for tab tutorials and found a few different approaches, out of which an implementa[详细]
2023-04-09 13:29 分类:问答Switch from dual pane to single pane on orientation change maintaining fragment stack
Currently I have a dual pane layout for both landscape and portrait on a tablet. Similar to say settings I have a single activity which loads a fragment into the left selection pane and then choices[详细]
2023-04-09 05:03 分类:问答getActivity returning null from fragment
For school I am making an android app. For this app I have a fragment, which shows a gridview with just strings, from a database. For this I need a fragment. When I call getActivity(), it returns null[详细]
2023-04-09 04:22 分类:问答IllegalStateException: Can not perform this action after onSaveInstanceState with ViewPager
I\'m getting user reports from my app in the market, delivering the following exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState[详细]
2023-04-09 01:40 分类:问答