Skip to content

Commit

Permalink
Merge pull request #6 from netcosports/dev
Browse files Browse the repository at this point in the history
feat: add version in README
  • Loading branch information
Woffkaa authored Jul 8, 2021
2 parents 155124f + 35dcc9a commit afbbaa2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![Maven Central](https://img.shields.io/maven-central/v/io.github.netcosports.compositeadapter/composite-adapter?color=orange)](https://repo1.maven.org/maven2/io/github/netcosports/compositeadapter/composite-adapter/)
[![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg)](http://www.apache.org/licenses/LICENSE-2.0)

# CompositeAdapter

The `CompositeAdapter` is a `RecyclerView Adapter` that delegates all UI logic to a `Cell<T>` created by the `ViewModel`.
Expand All @@ -9,7 +12,7 @@
object CompositeAdapter {
const val compositeAdapterVersion = "1.0.0"
const val compositeAdapter = "io.github.netcosports.compositeadapter:${compositeAdapterVersion}"
const val compositeAdapter = "io.github.netcosports.compositeadapter:composite-adapter:${compositeAdapterVersion}"
}
```

Expand Down
1 change: 1 addition & 0 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ dependencies {
implementation(Config.Deps.AndroidX.lifecycleViewModelKtx)
implementation(Config.Deps.AndroidX.lifecycleLiveDataKtx)

// implementation(Config.Deps.CompositeAdapter.compositeAdapter)
implementation(project(Config.Deps.Libs.compositeAdapter))
}

0 comments on commit afbbaa2

Please sign in to comment.