Closed gulabsagevadiya closed 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
i have done like this but not working in fragment