项目知识(一)

1.Fragment的动态切换

2.动态设置ID

在res/values中创建ids.xml文件 

<item name="idName" type="id"/>
原文地址:https://www.cnblogs.com/rookiechen/p/5493336.html