Skip to content

Instantly share code, notes, and snippets.

Created July 12, 2022 01:52
What would you like to do?
【Kotlin】How to Use SeekBar 2
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
val textView = findViewById<TextView>(
val seekbar = findViewById<SeekBar>(
val button = findViewById<Button>(
// 初期値を表示
textView.text = "${seekbar.progress}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment