https://blog.csdn.net/fengyuzhengfan/article/details/38086743 class c = class.forName(); Fragment fg = c.newIntance();