一、概述 我们平常创建view一般是使用View view = LayoutInflate.from(context).inflate(resId, parent)来创建。通...
IP属地:浙江
一、概述 我们平常创建view一般是使用View view = LayoutInflate.from(context).inflate(resId, parent)来创建。通...
dagger2是目前android端比较火的一款依赖注入框架,先来看下基本的用法吧:首先提供module,类似于工厂: 然后是component组件,用来连接module与需...