File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/turingtechnologies/materialscrollbar Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
3
- def libVersion = ' 12.3.0 '
3
+ def libVersion = ' 12.3.1 '
4
4
5
5
android {
6
6
compileSdkVersion 25
Original file line number Diff line number Diff line change 62
62
* instance of the bar.
63
63
*/
64
64
@ SuppressWarnings ({"unchecked" , "unused" })
65
- abstract class MaterialScrollBar <T > extends RelativeLayout {
65
+ public abstract class MaterialScrollBar <T > extends RelativeLayout {
66
66
67
67
//Component Views
68
68
private View handleTrack ;
@@ -198,9 +198,9 @@ void implementPreferences(){
198
198
199
199
public T setRecyclerView (RecyclerView rv ){
200
200
if (seekId != 0 ){
201
- throw new RuntimeException ("There is already a recyclerView set by XML." );
201
+ throw new IllegalStateException ("There is already a recyclerView set by XML." );
202
202
} else if (recyclerView != null ){
203
- throw new RuntimeException ("There is already a recyclerView set." );
203
+ throw new IllegalStateException ("There is already a recyclerView set." );
204
204
}
205
205
recyclerView = rv ;
206
206
generalSetup ();
You can’t perform that action at this time.
0 commit comments