use async preparation at the player fragment
This commit is contained in:
parent
1deb0380ba
commit
3c52f4d8c8
|
@ -266,7 +266,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
|
|||
setDataSource(recording.path)
|
||||
}
|
||||
|
||||
prepare()
|
||||
prepareAsync()
|
||||
}
|
||||
|
||||
play_pause_btn.setImageDrawable(getToggleButtonIcon(true))
|
||||
|
|
Loading…
Reference in New Issue