File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/org/buffer/android/utils Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ publish {
2727 userOrg = ' buffer'
2828 groupId = ' org.buffer.android'
2929 artifactId = ' android-utils'
30- publishVersion = ' 0.1 '
30+ publishVersion = ' 0.2 '
3131 desc = ' An Android library for frequently used utility functions'
3232 website = ' https://github.com/bufferapp/android-utils'
3333}
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import android.os.Build
44
55object ApiLevelHelper {
66
7- fun isAtLeast (apiLevel : Int ): Boolean {
7+ open fun isAtLeast (apiLevel : Int ): Boolean {
88 return Build .VERSION .SDK_INT >= apiLevel
99 }
1010
11- fun isLowerThan (apiLevel : Int ): Boolean {
11+ open fun isLowerThan (apiLevel : Int ): Boolean {
1212 return Build .VERSION .SDK_INT < apiLevel
1313 }
1414}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import android.view.View
55import android.view.inputmethod.InputMethodManager
66
77object KeyboardUtil {
8- fun closeSoftKeyboard (view : View ? ) {
8+ open fun closeSoftKeyboard (view : View ? ) {
99 if (view != null ) {
1010 val inputManager = view.context.getSystemService(
1111 Context .INPUT_METHOD_SERVICE ) as InputMethodManager ?
You can’t perform that action at this time.
0 commit comments