brummton-info / HummFinder-Application

0 stars 0 forks source link

Matching Activity: Seekbar.progress not getting updated with preference datastore #3

Closed arnabeshd closed 1 year ago

arnabeshd commented 1 year ago

Pass frequency LiveData observer from viewmodel to SeekBar.progress (from setProgress()/getProgress() method)

viewModel.frequency().observe(this,{
            TextMatching.text = it.toString()
            seekBar.progress = it
        })