HarinTrivedi / FABRevealMenu-master

A general purpose android UI library to show a user show menu in accordance of Floating action button with material design guidelines.
https://harintrivedi.github.io/FABRevealMenu-master/
Apache License 2.0
614 stars 117 forks source link

does not showing view #41

Closed gulabsagevadiya closed 2 years ago

gulabsagevadiya commented 2 years ago
private fun setUpFanReveal() {
        try {
            val v = AddItemDashBinding.inflate(layoutInflater)
            v.addBatch.setOnClickListener {
                toast("Add Batch")
            }
            v.addStudent.setOnClickListener {
                toast("Add Student")
            }
            mView.fabMenu.customView = v.root
            mView.fabMenu.bindAnchorView(mView.dashFab)
        }catch (e: Exception){
            toast(e.message?:"Something went wrong!!!")
        }
    }

i have done like this but not working in fragment