Facebook
Twitter
LinkedIn
Instagram
Whatsapp
Call Now
Quick Inquiry

Redirect a Fragment to another Fragment in android studio ?

Redirect a Fragment to another Fragment in android studio ?

MainActivity

 var fragment: Fragment? = null

  fragment = CalendarioFragment()
       

        if (fragment != null) {
                val transaction = supportFragmentManager.beginTransaction()
                transaction.replace(R.id.calendarioFragment, fragment)
                transaction.commit()
        }

8 0

Write a Comments


* Be the first to Make Comment

GoodFirms Badge
GoodFirms Badge

Fix Your Meeting With Our SEO Consultants in India To Grow Your Business Online