Назад к задачам
Junior — Senior
22

Throttling button clicks via RxJava Observable subscription

Получайте помощь с лайвкодингом в реальном времени с Sobes Copilot
Условие задачи

Implement a subscription to a button observable that allows throttling of its click events.

val button: Observable<Boolean>? = null

Your task is to set up the subscription so that rapid successive clicks are limited according to a throttling strategy, preventing the button's action from being triggered too frequently.