fun showForAndDispose(seconds: Float, callback: () -> Unit = {}): Unit
fun showForAndDispose(seconds: Double, callback: () -> Unit = {}): Unit
Same as showFor but disposes the highlighter before calling the callback.
seconds
- Duration to show this highlight for in seconds.
callback
- Called when the highlight is done showing.
fun showForAndDispose(duration: Long, unit: TimeUnit = TimeUnit.SECONDS, callback: () -> Unit = {}): Unit
Same as showFor but disposes the highlighter before calling the callback.