Answers for "how to open fragment from adapter in kotlin"

0

how to open fragment from adapter in kotlin

holder.send.setOnClickListener {
                val activity=it.context as AppCompatActivity
                activity.supportFragmentManager
                    .beginTransaction()
                    .replace(R.id.container,MessegeFragment.newInstance())
                    .commitNow()
        }
Posted by: Guest on April-08-2021

Code answers related to "how to open fragment from adapter in kotlin"

Browse Popular Code Answers by Language