依赖注入神兵利器Dagger2使用Sample
如果我的这些笔记和代码,对于您有所帮助,望请不吝Star,鞠躬!
如果有疑问,欢迎提出issue,我会第一时间进行回答;
如果您觉得代码有问题,也欢迎提出PR,共同学习。
关于组件化(模块化)开发中,如何使用dagger,请参考我的这个项目:
The Sample_dagger2 License
Copyright (c) 2017 qingmei2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.