cymcsg / UltimateRecyclerView

A RecyclerView(advanced and flexible version of ListView in Android) with refreshing,loading more,animation and many other features.
Apache License 2.0
7.22k stars 1.43k forks source link

Recyclerview-v7-23.1.1 upgrade progress #314

Closed jjhesk closed 8 years ago

jjhesk commented 8 years ago

Since v23.1.1 has been phrasing out for a while, i decided to upgrade this library to adapter the latest convention. This will be a long track progress and it needs a new branch for this big mess. Welcome to make your [PR for enhancement]() of this project. This upgrade is based on his work

@alafighting This will answer the question from #288

Please follow the latest publishing aar on jcenter. Download

follow by the gradle code


repositories {
    jcenter()
    maven { url "http://dl.bintray.com/jjhesk/maven" }
}
{
compile 'com.hkm.slidingmenulib:libmenu:0.4.7'
}
jjhesk commented 8 years ago

@cymcsg can you issue a separate library and name it as v23.1.1

cymcsg commented 8 years ago

@jjhesk I'm not quite sure what about a separate library.Could you explain it more clearly?Thank you

jjhesk commented 8 years ago

now i have worked on the update of the package and it is up running on gradle with this version Download

jjhesk commented 8 years ago

i will have another update for this library. Since this library was not using API v23.1.1 @cymcsg there were alot of the things that doesnt support in APIv23.0.1. There will be a big change from the animation library. For this reason I removed the internal library for animation and import the compile package from compile 'jp.wasabeef:recyclerview-animators:2.2.0' and that was not compiled in v23.1.1 below. Please also see the readme file on https://github.com/wasabeef/recyclerview-animators

jjhesk commented 8 years ago

the latest pull for the branch #322 this will cover the animation upgrade for v23.1.1 and above and fixed some loadmore and emptyview control options. The most common use from the loading policy are expected as below


   listview.setOnLoadMoreListener(this);
        listview.setLoadMoreView(R.layout.custom_bottom_progressbar);
        listview.setEmptyView(R.layout.emptyview, 
                UltimateRecyclerView.EMPTY_CLEAR_ALL,
                UltimateRecyclerView.STARTWITH_ONLINE_ITEMS);
cymcsg commented 8 years ago

Thank you.I got it. Do you think that we need a v23.0.1 library rather than upgrade this library to v23.0.1 in a new version?

jjhesk commented 8 years ago

keep the old branch and name it as api 23.0.1 as we may need to go back and retouch the code for older android devices and we will merge v23.1.1 into master as this will be all future library will be used. of course we need to find resource to maintain the old broken library by requests.

cymcsg commented 8 years ago

I have publish a branch which named RecyclerviewV22 for the old version.

jjhesk commented 8 years ago

Download Thats good. Now i got the ultimate recycler ready for API 23.1.1 and above with this update #323, #325

jjhesk commented 8 years ago

There are known issue related to loadmore view and once it is visible GONE from the recyclerview. google discussion issue fix status

imkarl commented 8 years ago

给力! It is awesome!