Building an Android Settings Screen (Part 4)
Jakob Ulbrich
17812

Hi Jacob. Thanks for publishing this series of tutorials but there is something regarding this that I still don’t fully understand and has been bugging me for months. Do you know how to control the visibility of a View that is in a fragment (rather than an activity)? I have created a settings activity with a toggle switch to control the visibility, but for some reason it is not working at all. Any ideas on what’s gone wrong with the code I have used?

http://stackoverflow.com/questions/41961805/fragment-item-wont-collapse

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.