About 6,570,000 results
Open links in new tab
  1. android - Fragment Inside Fragment - Stack Overflow

    Jul 13, 2011 · I need help regarding working on fragment inside fragment, actually I am facing a problem on pressing back button. Application Main screen has buttons and pressing on each …

  2. android - findViewById in Fragment - Stack Overflow

    I am trying to create an ImageView in a Fragment which will refer to the ImageView element which I have created in the XML for the Fragment. However, the findViewById method only works if I …

  3. android.view.InflateException: Binary XML file: Error inflating class ...

    In this line you are getting exception check whether the class name and package name are correct or not..android:name="com.hqt.hac.view.fragment.NavigationDrawerFragment"

  4. Android Fragment no view found for ID? - Stack Overflow

    In my case i was using a generic fragment holder using in my activity class and i was replacing this generic fragment with proper fragments at runtime. Problem was i was giving id's to both …

  5. android - How to close the current fragment by using Button like …

    Dec 28, 2013 · I have try to close the current fragment by using Imagebutton. I am in Fragment-A and it will turn to the Fragment-B when I click the button. And when I click the button at …

  6. android - How to use Compose inside Fragment? - Stack Overflow

    The documentation describes how to create UI Jetpack Compose inside Activity. class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { …

  7. android - Error inflating class fragment - Stack Overflow

    Jun 21, 2011 · If your TaskDetailsFragment extending android.app.Fragment, do change in onCreateView(). Return your view which you want to show in the Fragment or convert your …

  8. android - Start an activity from a fragment - Stack Overflow

    Mar 18, 2013 · It's an example of a reference to a Fragment or an Activity. If you're using the code inside of one of those classes then you can just replace mContextReference with either …

  9. android - How to transfer some data to another Fragment

    Aug 22, 2011 · How to transfer some data to another Fragment likewise it was done with extras for intents?

  10. android - How to use data-binding with Fragment - Stack Overflow

    Jan 10, 2016 · The data binding implementation must be in the onCreateView method of the fragment, delete any data Binding that exist in your OnCreate method, your onCreateView …