This file contains 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
[ | |
{ | |
"alpha2Code": "AF", | |
"alpha3Code": "AFG", | |
"altSpellings": [ | |
"AF", | |
"Af\u0121\u0101nist\u0101n" | |
], | |
"area": 652230, | |
"borders": [ |
This file contains 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
[ | |
{ | |
"alpha2Code": "AF", | |
"alpha3Code": "AFG", | |
"altSpellings": [ | |
"AF", | |
"Af\u0121\u0101nist\u0101n" | |
], | |
"area": 652230, | |
"borders": [ |
This file contains 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
@file:JvmName("KeyBoardExt") | |
import android.app.Activity | |
import android.content.Context | |
import android.view.View | |
import android.view.inputmethod.InputMethodManager | |
import androidx.appcompat.app.AppCompatActivity | |
import androidx.fragment.app.Fragment | |
fun Fragment.hideKeyboard() { |
This file contains 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
import android.content.Context | |
import android.graphics.Canvas | |
import android.util.AttributeSet | |
import android.view.MotionEvent | |
import android.view.View | |
import android.view.ViewGroup | |
import android.widget.ScrollView | |
import kotlin.math.min | |
class StickyScrollView @JvmOverloads constructor( |
OlderNewer