Top "Fragment" questions

**DO NOT USE**: fragment is an ambiguous tag, used to refer to numerous technologies.

Fixed page header overlaps in-page anchors

If I have a non-scrolling header in an HTML page, fixed to the top, having a defined height: Is there …

html url anchor fragment
Intent from Fragment to Activity

I was trying to go to another page using button, but it always fail. Here is my First Class with …

android xml android-fragments fragment
How do I start an activity from within a Fragment?

I have a set of tabs inside of a FragmentActivity that each hold their own fragment. When I tried to …

android android-activity fragment
Android - save/restore fragment state

I have an Activity in which I go through several fragments. In every fragment I have several views (EditText, ListView, …

android android-fragments fragment onresume back-stack
android.content.Context.getPackageName()' on a null object reference

Hi I am working with Fragments which implements an interface. public class SigninFragment extends Fragment implements SigninInterface The interface's method …

android android-fragments fragment
Get the Application Context In Fragment In Android?

I have stored some data to a Global Class By using the Application Context In One Activity. Later I have …

android android-fragments fragment
Receive result from DialogFragment

I am using DialogFragments for a number of things: choosing item from list, entering text. What is the best way …

android dialog android-fragments fragment dismiss
Cannot resolve method 'getSupportFragmentManager ( )' inside Fragment

I found the message Cannot resolve method 'getSupportFragmentManager ( )' I want to fragment as activity. because I want to use …

android google-maps android-fragments fragment
Using onBackPressed() in Android Fragments

I am working on a project and I need to be able to use the back button in each fragment …

android fragment
How to move from one fragment to another fragment on click of an ImageView in Android?

I have an ImageView. I want to move from one fragment to another fragment on a click of an Imageview, …

android android-fragments fragment