Skip to content

Commit

Permalink
tag:v1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
simplepeng committed Sep 3, 2021
1 parent 2ce415a commit 691b2f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/captures
.externalNativeBuild
.cxx
nexus_upload.gradle
3 changes: 2 additions & 1 deletion building_recyclerview/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
nexus_upload.gradle
3 changes: 2 additions & 1 deletion building_recyclerview/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: "nexus_upload.gradle"

android {
compileSdkVersion 30
Expand All @@ -16,5 +17,5 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"

api "androidx.recyclerview:recyclerview:1.1.0"
api "androidx.recyclerview:recyclerview:1.2.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ open class BuildingRecyclerView @JvmOverloads constructor(
*/
fun build(layoutManager: LayoutManager = LinearLayoutManager(context)) {
this.addItemDecoration(BuildingItemDecoration(floorItems))
this.layoutManager = LinearLayoutManager(context)
this.layoutManager = layoutManager
this.adapter = BuildingAdapter(floorItems)
}

Expand Down

0 comments on commit 691b2f8

Please sign in to comment.