Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshun committed Nov 18, 2019
1 parent 3bec5cd commit 5139ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Reduction of code for simple GroupieAdapter and items.

```kotlin
binding.vertical.layoutManager = LinearLayoutManager(this)
binding.vertical.adapter = groupieAdapter {
binding.vertical.adapter = groupAdapter {
repeat(5) {
item(R.layout.main_item1) {
val binding = MainItem1Binding.bind(this)
Expand Down Expand Up @@ -58,7 +58,7 @@ binding.vertical.adapter = groupieAdapter {

```kotlin
binding.horizontal.layoutManager = LinearLayoutManager(this, RecyclerView.HORIZONTAL, false)
binding.horizontal.adapter = groupieAdapter {
binding.horizontal.adapter = groupAdapter {
item(R.layout.main_item11) {
val binding = MainItem11Binding.bind(this)
binding.title.text = "Main11"
Expand Down

0 comments on commit 5139ca8

Please sign in to comment.