implementation 'org.greenrobot:eventbus:3.2.0' EventBus package com.qiqi.app.bean; public class EventMessageWrap { public final String message; public ...
分类:
其他好文 时间:
2021-06-28 18:59:05
阅读次数:
0
一、简介EventBus是由greenrobot 组织贡献的一个Android事件发布/订阅轻量级框架。EventBus是一个Android端优化的publish/subscribe消息总线,简化了应用程序内各组件间、组件与后台线程间的通信。比如请求网络,等网络返回时通过Handler或Broadc ...
分类:
移动开发 时间:
2020-05-07 15:14:23
阅读次数:
84
1、配置 1.1 在 build.gradle(project) 中,加入这句 classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin 如图所示 1.2 在 build.gradle(app) 中,在dependen ...
分类:
其他好文 时间:
2020-04-16 13:26:19
阅读次数:
61
Bean: package com.bill.model.bean.local; import org.greenrobot.greendao.annotation.Entity; import org.greenrobot.greendao.annotation.Generated; import ...
分类:
移动开发 时间:
2020-02-10 14:09:29
阅读次数:
153
官网地址:http://greenrobot.org/greendao/github:https://github.com/greenrobot/greenDAO使用:在你project项目的build.gradle配置如下:buildscript{repositories{jcenter()mavenCentral()//addrepository}dependencies{classpath&
分类:
移动开发 时间:
2019-12-23 00:59:48
阅读次数:
119
objectbox数据库是greenrobot团队开发的全新非关系型数据库框架,该团队还开发过greenDao,EventBus等热门框架,objectbox可能是第一次听说,但是greenDao,EventBus做过安卓app开发的朋友们应该都很熟悉吧3.集成教程:Gradle配置添加下面的内容到 ...
分类:
移动开发 时间:
2019-08-26 19:25:10
阅读次数:
110
第一步:添加依赖 compile 'org.greenrobot:eventbus:3.0.0' 第二步:定义消息事件类 public class MessageEvent{ private String message; public MessageEvent(String message){ t ...
分类:
其他好文 时间:
2019-07-04 09:23:17
阅读次数:
86
1. Jake Whartson: https://github.com/JakeWharton Dragger , ButterKnife, Scalpel,Java poet, Picasso, Android-ktx 2. GreenRobot: 开源组织 http://greenrobot. ...
分类:
移动开发 时间:
2018-10-01 22:15:17
阅读次数:
204
github:https://github.com/greenrobot/greenDAO 先在依赖加上 ...
分类:
移动开发 时间:
2018-08-18 23:42:46
阅读次数:
278
buildscript { repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.1.3' classpath 'org.greenrobot:greendao-g ...
分类:
其他好文 时间:
2018-07-31 19:17:59
阅读次数:
556