【Android】Jetpack全组件实战开发短视频应用App(四)

qzg65470 9 0 PDF 2021-01-04 03:01:01

前言 我们在上一篇基本上已经实现我们要的效果了,但是还遗留了几个问题,这一篇我们就来解决下 自定义解析器 我们上一篇介绍过NavDestination是通过解析xml生成的,我们不想在xml中写死,通过注解的方式实现,我们接下来就自定义注解和解析器来实现 创建 首先创建两个module annotation模块的gradle apply plugin: 'java-library' tasks.withType(JavaCompile) { options.encoding = UTF-8 } dependencies { implementation fileTree(

用户评论
请输入评论内容
评分:
暂无评论