diff --git a/README.md b/README.md index 326baee..88ca130 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ please. There is a simple sample for this library. 😄 It's very easy to import, you just put them into your gradle file. ```gradle -compile "com.devrapid.jieyi:adaptiverecyclerview:1.0.12" +compile "com.devrapid.jieyi:adaptiverecyclerview:1.0.13" ``` ## Maven @@ -114,7 +114,7 @@ compile "com.devrapid.jieyi:adaptiverecyclerview:1.0.12" com.devrapid.jieyi adaptiverecyclerview - 1.0.12 + 1.0.13 pom ``` diff --git a/adaptiverecyclerview/src/main/java/com/devrapid/adaptiverecyclerview/AdaptiveAdapter.kt b/adaptiverecyclerview/src/main/java/com/devrapid/adaptiverecyclerview/AdaptiveAdapter.kt index 0fee83d..30421f6 100644 --- a/adaptiverecyclerview/src/main/java/com/devrapid/adaptiverecyclerview/AdaptiveAdapter.kt +++ b/adaptiverecyclerview/src/main/java/com/devrapid/adaptiverecyclerview/AdaptiveAdapter.kt @@ -135,6 +135,7 @@ abstract class AdaptiveAdapter, VH : Re open fun add(position: Int, item: M) { queue.add(Message().also { it.type = MESSAGE_ADD_SINGLE + it.position = position it.newItem = item }) runUpdateTask() diff --git a/gradle.properties b/gradle.properties index 20f223d..cdbc999 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,7 @@ proj_name=adaptiverecyclerview proj_libname=AdaptiveRecyclerview proj_group=com.devrapid.jieyi proj_artifactid=adaptiverecyclerview -proj_version=1.0.12 +proj_version=1.0.13 proj_description=Create an adaptive recycler view for each of type view. proj_websiteurl=https://github.com/pokk/AdaptiveRecyclerView proj_issuetrackerurl=https://github.com/pokk/AdaptiveRecyclerView/issues