Change webtoon image callback to onReady

This commit is contained in:
len 2016-10-24 00:12:32 +02:00
parent 19c713ebb2
commit d77a1e6925

View file

@ -64,7 +64,7 @@ class WebtoonHolder(private val view: View, private val adapter: WebtoonAdapter)
setVerticalScrollingParent(true) setVerticalScrollingParent(true)
setOnTouchListener(adapter.touchListener) setOnTouchListener(adapter.touchListener)
setOnImageEventListener(object : SubsamplingScaleImageView.DefaultOnImageEventListener() { setOnImageEventListener(object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
override fun onImageLoaded() { override fun onReady() {
onImageDecoded() onImageDecoded()
} }