private List<Preference> getPreferenceList(Preference p, List<Preference> list)
{
if (p instanceof PreferenceCategory || p instanceof PreferenceScreen)
{
PreferenceGroup g = (PreferenceGroup) p;
int pCount = g.getPreferenceCount();
for (int i = 0; i < pCount; i++)
{
getPreferenceList(g.getPreference(i), list);
}
}
else
{
list.add(p);
}
return list;
}
GlobalSettingsActivity.java 文件源码
java
阅读 24
收藏 0
点赞 0
评论 0
项目:Hupl
作者:
评论列表
文章目录