This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun View.isPartiallyOrFullyVisible(horizontalScrollView: HorizontalScrollView) : Boolean { | |
val scrollBounds = Rect() | |
horizontalScrollView.getHitRect(scrollBounds) | |
return getLocalVisibleRect(scrollBounds) | |
} | |
fun View.isPartiallyOrFullyVisible(scrollView: ScrollView) : Boolean { | |
val scrollBounds = Rect() | |
scrollView.getHitRect(scrollBounds) | |
return getLocalVisibleRect(scrollBounds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
getByName("debug") { | |
keyAlias = "debug" | |
keyPassword = "my debug key password" | |
storeFile = file("/home/miles/keystore.jks") | |
storePassword = "my keystore password" | |
} | |
create("release") { | |
keyAlias = "release" |
OlderNewer