I'm trying to create a toggle button similar to Credit Blocked using the same code approach. But after editing the fragment and deploying it, I'm not getting the expected results. Not sure what I might be missing since I'm pretty new to this.





Best Regards,













