diff --git a/lib/build.gradle b/lib/build.gradle index c4aec7e..82f5537 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -13,7 +13,7 @@ ext { siteUrl = 'https://github.com/krimin-killr21/MaterialScrollBar' gitUrl = 'https://github.com/krimin-killr21/MaterialScrollBar.git' - libraryVersion = '5.0.0' + libraryVersion = '5.0.1' developerId = 'krimin-killr21' developerName = 'Turing Technologies' @@ -31,8 +31,8 @@ android { defaultConfig { minSdkVersion 7 targetSdkVersion 23 - versionCode 9 - versionName "5.0.0" + versionCode 10 + versionName "5.0.1" } } diff --git a/lib/src/main/java/com/turingtechnologies/materialscrollbar/DateAndTimeIndicator.java b/lib/src/main/java/com/turingtechnologies/materialscrollbar/DateAndTimeIndicator.java index 34d44b6..3f6a6c3 100644 --- a/lib/src/main/java/com/turingtechnologies/materialscrollbar/DateAndTimeIndicator.java +++ b/lib/src/main/java/com/turingtechnologies/materialscrollbar/DateAndTimeIndicator.java @@ -93,7 +93,7 @@ int getIndicatorWidth() { @Override void testAdapter(RecyclerView.Adapter adapter) { - if(!(adapter instanceof INameableAdapter)){ + if(!(adapter instanceof IDateableAdapter)){ throw new adapterNotSetupForIndicatorException("IDateableAdapter"); } }