use async preparation at the player fragment

This commit is contained in:
tibbi
2020-04-02 18:55:34 +02:00
parent 1deb0380ba
commit 3c52f4d8c8

View File

@@ -266,7 +266,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
setDataSource(recording.path)
}
prepare()
prepareAsync()
}
play_pause_btn.setImageDrawable(getToggleButtonIcon(true))