Hi, I have now started following this guide https://github.com/mbientlab/MetaWear-Tutorial-Android/tree/master/starterand I am stuck on the stage where I should_ "Override onViewCreated to have the switch control the led with an OnCheckChangedListener class:"_. I have added the button to the layout and debugging works. I just dont know where should add the onclicklistener. When I add the text to the "DeviceSetupActivityFragment" I get lots off red errors.
Where should and how should I add the code?
Thank you very much