- 博客(2)
- 收藏
- 关注
原创 在Fragment中调用DialogFragment
在android的官方文档中,dialogFragment的show方法是这样调用的:dialog.show(getFragmentManager(), "AddEventDialogFragment");但是在Fragment中是无法调用getFragmentManager()方法的。可以用两种方法代替:dialog.show(getChildFragmentManager(), "A...
2019-05-01 15:15:00
3397
原创 android studio 中colors文件的bug
今天遇到一个bug(android studio 3.3.2版本,目前的最新版本):"The color “colorRed” in values has no declaration in the base values folder; this can lead to crashes when the resource is queried in a configuration that do...
2019-04-12 15:28:29
4181
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人