Skip to content

Commit

Permalink
2019-04-10 18:40
Browse files Browse the repository at this point in the history
Bug Fix
  • Loading branch information
Aryan-mor committed Apr 10, 2019
1 parent a1919ed commit 2235f7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion advancerecyclerview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
minSdkVersion 15
targetSdkVersion 28
versionCode 2
versionName "1.0.6"
versionName "1.0.7"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ open class AdvanceRecyclerView : RecyclerView {
protected set
private var itemCount = 0

private fun setItemCount(itemCount: Int, notifyDataSetChange: Boolean = true) {
fun setItemCount(itemCount: Int, notifyDataSetChange: Boolean = true) {
this.itemCount = itemCount - 1
if (notifyDataSetChange) {
myAdapter.notifyDataSetChanged()
Expand Down

0 comments on commit 2235f7e

Please sign in to comment.