Commit beb913b0 authored by Your Name's avatar Your Name

.

parent 9698ed72
...@@ -382,7 +382,7 @@ public class CleanJunkActivity extends AppCompatActivity { ...@@ -382,7 +382,7 @@ public class CleanJunkActivity extends AppCompatActivity {
handler = new Handler(); handler = new Handler();
Intent intent = new Intent(this, EndCleanJunkActivity.class); Intent intent = new Intent(this, EndCleanJunkActivity.class);
handler.postDelayed(() -> { handler.postDelayed(() -> {
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
binding.radarview.setSearching(false); binding.radarview.setSearching(false);
intent.putExtra("cleanstr", str); intent.putExtra("cleanstr", str);
......
...@@ -33,7 +33,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -33,7 +33,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
initCustDialog(); initCustDialog();
}); });
binding.buttonBatteryInfoCheckNo.setOnClickListener(v->{ binding.buttonBatteryInfoCheckNo.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, InfoActivity.class)); startActivity(new Intent(this, InfoActivity.class));
finish(); finish();
...@@ -52,7 +52,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -52,7 +52,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonAppManagerCheckNo.setOnClickListener(v->{ binding.buttonAppManagerCheckNo.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, BatteryInfoActivity.class)); startActivity(new Intent(this, BatteryInfoActivity.class));
finish(); finish();
...@@ -71,7 +71,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -71,7 +71,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonWhatsappCheckNo.setOnClickListener(v->{ binding.buttonWhatsappCheckNo.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, WhatsAppActivity.class)); startActivity(new Intent(this, WhatsAppActivity.class));
finish(); finish();
...@@ -90,7 +90,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -90,7 +90,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonAppProcessCheckNo.setOnClickListener(v->{ binding.buttonAppProcessCheckNo.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, AppProcessActivity.class)); startActivity(new Intent(this, AppProcessActivity.class));
finish(); finish();
...@@ -109,7 +109,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -109,7 +109,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonCleanJunkCleanNo.setOnClickListener(v->{ binding.buttonCleanJunkCleanNo.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, CleanJunkActivity.class)); startActivity(new Intent(this, CleanJunkActivity.class));
finish(); finish();
...@@ -128,7 +128,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -128,7 +128,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonLargefilecleanerCleanUp.setOnClickListener(v->{ binding.buttonLargefilecleanerCleanUp.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, LargeFileActivity.class)); startActivity(new Intent(this, LargeFileActivity.class));
finish(); finish();
...@@ -147,7 +147,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -147,7 +147,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonSimilarPhotos.setOnClickListener(v->{ binding.buttonSimilarPhotos.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, SimilarPhotosActivity.class)); startActivity(new Intent(this, SimilarPhotosActivity.class));
finish(); finish();
...@@ -166,7 +166,7 @@ public class EndCleanJunkActivity extends AppCompatActivity { ...@@ -166,7 +166,7 @@ public class EndCleanJunkActivity extends AppCompatActivity {
}); });
binding.buttonScreenshot.setOnClickListener(v->{ binding.buttonScreenshot.setOnClickListener(v->{
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
startActivity(new Intent(this, ScreenShotActivity.class)); startActivity(new Intent(this, ScreenShotActivity.class));
finish(); finish();
......
...@@ -151,7 +151,7 @@ public class ScreenShotActivity extends AppCompatActivity { ...@@ -151,7 +151,7 @@ public class ScreenShotActivity extends AppCompatActivity {
handler = new Handler(Looper.getMainLooper()); handler = new Handler(Looper.getMainLooper());
Intent intent = new Intent(this, EndCleanJunkActivity.class); Intent intent = new Intent(this, EndCleanJunkActivity.class);
handler.postDelayed(() -> { handler.postDelayed(() -> {
AdmobHelper.INSTANCE.showAppOpenAd(this, AdmobHelper.INSTANCE.showInterstitialAd(this,
() -> { () -> {
binding.radarview.setSearching(false); binding.radarview.setSearching(false);
intent.putExtra("cleanstr", cleanSize); intent.putExtra("cleanstr", cleanSize);
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="337dp" android:layout_width="337dp"
android:layout_height="410dp"> android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -96,12 +96,12 @@ ...@@ -96,12 +96,12 @@
<com.tool.zxdemo.utils.NativeView <com.tool.zxdemo.utils.NativeView
android:id="@+id/fl_ad" android:id="@+id/fl_ad"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="150dp" android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp" android:layout_marginHorizontal="10dp"
android:layout_marginTop="28dp"> android:layout_marginTop="28dp">
<ImageView <ImageView
android:src="@mipmap/gg"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>
</com.tool.zxdemo.utils.NativeView> </com.tool.zxdemo.utils.NativeView>
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="337dp" android:layout_width="337dp"
android:layout_height="410dp"> android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
<com.tool.zxdemo.utils.NativeView <com.tool.zxdemo.utils.NativeView
android:id="@+id/fl_ad" android:id="@+id/fl_ad"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="150dp" android:layout_height="wrap_content"
android:layout_marginHorizontal="10dp" android:layout_marginHorizontal="10dp"
android:layout_marginTop="31dp"> android:layout_marginTop="31dp">
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:src="@mipmap/gg" /> />
</com.tool.zxdemo.utils.NativeView> </com.tool.zxdemo.utils.NativeView>
</LinearLayout> </LinearLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment