How to show and hide preferences on Android dynamically?

后端 未结 6 793
隐瞒了意图╮
隐瞒了意图╮ 2020-12-23 17:46

Is there a way to dynamically show and hide preferences? In my case, I have a checkbox preference that would disable or enable one of 2 preference groups (\"with-\" and \"w

6条回答
  •  独厮守ぢ
    2020-12-23 18:40

    I recommend using V7 preference, it has setVisible() method. But I have not tried it yet.

提交回复
热议问题