Skip to content

Instantly share code, notes, and snippets.

Bogdan Vlad vladiulianbogdan

Block or report user

Report or block vladiulianbogdan

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
steveliles /
Last active May 5, 2019
Class for detecting and eventing whether an Android app is currently foreground or background (requires API level 14+)
package com.sjl.util;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import java.util.List;
You can’t perform that action at this time.