Skip to content

Instantly share code, notes, and snippets.

Vũ Hoàng Dương hoangduong95

Block or report user

Report or block hoangduong95

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.