4 января, 2022

Open app ads

Зависимости def lifecycle_version = "2.2.0"implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"implementation "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version"annotationProcessor "androidx.lifecycle:lifecycle-compiler:$lifecycle_version" AppMainState import android.app.Activity;import android.app.Application;import android.content.Context;import android.os.Bundle;import android.util.Log;import androidx.annotation.NonNull;import androidx.annotation.Nullable;import androidx.lifecycle.Lifecycle;import androidx.lifecycle.LifecycleObserver;import androidx.lifecycle.OnLifecycleEvent;import androidx.lifecycle.ProcessLifecycleOwner;import com.google.android.gms.ads.AdError;import com.google.android.gms.ads.AdRequest;import com.google.android.gms.ads.FullScreenContentCallback;import com.google.android.gms.ads.LoadAdError;import… Подробнее »Open app ads