fun showForAndDispose(seconds: Float, callback: () -> Unit = {}): Unitfun 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.