Skip to content

Instantly share code, notes, and snippets.

Christian Krillsson

  • Volvo Car Mobility
  • Stockholm, Sweden
Block or report user

Report or block Krillsson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Krillsson /
Last active Sep 4, 2017
LiveData extension that omits periodic ticks
import android.arch.lifecycle.LiveData;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
public abstract class PeriodicLiveData<T> extends LiveData<T> {
private final int delay;
You can’t perform that action at this time.