Android
youngboowu
这个作者很懒,什么都没留下…
展开
-
android navigation使用
android的navigation大部分情况是在xml进行配置,但是这样做不灵活,也可以采用在代码里面灵活跳转的方式主要是通过NavGraph的setStartDestination方法。NavHostFragment navHostFragment = (NavHostFragment) getSupportFragmentManager().findFragmentById(R.id.main_view_nav_host_fragment);NavGraph navSimple = nav原创 2020-06-01 17:02:38 · 651 阅读 · 0 评论 -
google developer guide
https://developer.android.google.cn/guide/https://source.android.google.cn/devices/audiohttps://source.android.google.cn/devices/automotive/audiohttps://developer.android.google.cn/reference/and...原创 2019-09-17 15:19:36 · 163 阅读 · 0 评论 -
常用命令
adb install -r DYBroadcaseTest.apkadb shell am start -n com.android.dybroadcasetest/.MainActivityadb shell am force-stop com.android.dybroadcasetest adb uninstall com.android.dybroadcasetest./...原创 2019-09-17 15:46:42 · 108 阅读 · 0 评论 -
android性能优化相关
一、内存优化。首先,我们确定我们项目或者某几个类里面是否存在内存溢出的问题。我们可以通过如下方法:Android–>System Information–>MemoryUsage查看Object里面是否有没有被释放的Views和Activity命令行模式:adb shell dumpsys meminfo 包名 -d、https://zhuanlan.zhihu.com/...原创 2019-10-08 15:37:31 · 89 阅读 · 0 评论