common-observer

common-observer for Android

License

License

GroupId

GroupId

cn.wandersnail
ArtifactId

ArtifactId

common-observer
Last Version

Last Version

1.0.6
Release Date

Release Date

Type

Type

aar
Description

Description

common-observer
common-observer for Android
Project URL

Project URL

https://github.com/wandersnail/commons-observer
Source Code Management

Source Code Management

https://github.com/wandersnail/commons-observer

Download common-observer

How to add to project

<!-- https://jarcasting.com/artifacts/cn.wandersnail/common-observer/ -->
<dependency>
    <groupId>cn.wandersnail</groupId>
    <artifactId>common-observer</artifactId>
    <version>1.0.6</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/cn.wandersnail/common-observer/
implementation 'cn.wandersnail:common-observer:1.0.6'
// https://jarcasting.com/artifacts/cn.wandersnail/common-observer/
implementation ("cn.wandersnail:common-observer:1.0.6")
'cn.wandersnail:common-observer:aar:1.0.6'
<dependency org="cn.wandersnail" name="common-observer" rev="1.0.6">
  <artifact name="common-observer" type="aar" />
</dependency>
@Grapes(
@Grab(group='cn.wandersnail', module='common-observer', version='1.0.6')
)
libraryDependencies += "cn.wandersnail" % "common-observer" % "1.0.6"
[cn.wandersnail/common-observer "1.0.6"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

代码托管

Maven Central Download

使用

  1. module的build.gradle中的添加依赖,自行修改为最新版本,需要哪个就依赖哪个,同步后通常就可以用了:
dependencies {
	...
	implementation 'com.github.wandersnail:common-observer:latestVersion'
	implementation 'com.github.wandersnail:common-poster:latestVersion'
}
  1. 如果从jcenter下载失败。在project的build.gradle里的repositories添加内容,最好两个都加上,添加完再次同步即可。
allprojects {
	repositories {
		...
		mavenCentral()
		maven { url 'https://dl.bintray.com/wandersnail/androidx/' }
	}
}

功能

  • 使用观察者模式发布事件,类似EventBus

Versions

Version
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1