标签: android-bootstrap

@Module在dagger for android中意味着什么?

我已经阅读了很多博客,但我仍然无法弄清楚@Module匕首中的注释功能. @Inject我得到它在运行时提供依赖注入.但是做了什么呢@Module.因为对象图也是建立在模块上的.

例如,我有这段代码来自https://github.com/AndroidBootstrap/android-bootstrap.

@Module(
    complete = false,

    injects = {
        BootstrapApplication.class,
        BootstrapAuthenticatorActivity.class,
        MainActivity.class,
        BootstrapTimerActivity.class,  
    }
)
public class BootstrapModule {
}
Run Code Online (Sandbox Code Playgroud)

那基本上做了什么呢.因为我也试图使用匕首构建一个应用程序作为android的依赖注入.但是因为我无法@Module清楚地得到概念,所以我只是被卡住了.

任何人都可以帮助我一些基本的例子或概念.我认为这对所有使用匕首的人都有帮助.

android dagger android-bootstrap

10
推荐指数
2
解决办法
3309
查看次数

Android UI框架

我在使用Android布局时遇到了一些问题,并使它们适应所有屏幕尺寸.我发现有一个替代解决方案:Android Bootstrap http://www.androidbootstrap.com/为此提供了很好的UI组件(按钮)等等...).

由于我是在本地开发,这种框架是否会使App运行速度变慢?

这只是一个像Web一样的UI框架(Twitter的Bootstrap)吗?如果没有,我们可以使用Android中的所有东西(相机,微型等......)我们可以包括一些像Zbar一样的罐子吗?

谢谢.

android android-bootstrap

2
推荐指数
1
解决办法
8491
查看次数

标签 统计

android ×2

android-bootstrap ×2

dagger ×1