Top "Android-fragments" questions

Fragments represent reusable behaviors or portions of the user interface in an Android app.

Android Fragment no view found for ID?

I have a fragment I am trying to add into a view. FragmentManager fragMgr=getSupportFragmentManager(); feed_parser_activity content = (feed_…

android android-fragments illegalargumentexception
How to implement a ViewPager with different Fragments / Layouts

When I start an activity which implements viewpager, the viewpager created various fragments. I want to use different layouts for …

android android-layout android-fragments android-viewpager fragmentpageradapter
How to handle button clicks using the XML onClick within Fragments

Pre-Honeycomb (Android 3), each Activity was registered to handle button clicks via the onClick tag in a Layout's XML: android:onClick="…

android xml button android-fragments
Fragment onResume() & onPause() is not called on backstack

I have multiple fragment inside an activity. On a button click I am starting a new fragment, adding it to …

android android-fragments onresume back-stack
Start an activity from a fragment

I have 2 fragments with on both fragments a button. When I press the button I'd like to start a new …

android android-fragments android-activity android-fragmentactivity
Passing data between a fragment and its container activity

How can I pass data between a fragment and its container activity? Is there something similar to passing data between …

android android-fragments
Fragment MyFragment not attached to Activity

I've created a small test app which represents my problem. I'm using ActionBarSherlock to implement tabs with (Sherlock)Fragments. My …

android android-fragments actionbarsherlock
How to put Google Maps V2 on a Fragment using ViewPager

I am trying to do a tab layout same in Play Store. I got to display the tab layout using …

android google-maps android-fragments
How to pass values between Fragments

I am pretty new to using Fragments. I am just trying to build a simple sample application that uses Fragments. …

android android-fragments
Android Fragments and animation

How should you implement the sort of sliding that for example the Honeycomb Gmail client uses? Can TransactionManager handle this …

android android-fragments android-3.0-honeycomb