File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
design/src/main/java/com/github/oezeb/cypher_connect/design Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ fun Project.setupCore() {
5959 setupCommon()
6060 android.apply {
6161 defaultConfig {
62- versionCode = 4
62+ versionCode = 6
6363 versionName = " 1.0.2"
6464 }
6565 compileOptions.isCoreLibraryDesugaringEnabled = true
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ import android.view.View
66import android.widget.TextView
77import androidx.appcompat.app.AppCompatActivity
88import androidx.core.text.HtmlCompat
9+ import com.google.android.gms.ads.AdRequest
10+ import com.google.android.gms.ads.AdView
11+ import com.google.android.gms.ads.MobileAds
912
1013class About : AppCompatActivity () {
1114 override fun onCreate (savedInstanceState : Bundle ? ) {
@@ -19,6 +22,10 @@ class About : AppCompatActivity() {
1922 }
2023
2124 findViewById<TextView >(R .id.title).apply { text = getString(R .string.about) }
25+
26+ // Initialize the Mobile Ads SDK
27+ MobileAds .initialize(this )
28+ findViewById<AdView >(R .id.bannerAdView).apply { loadAd(AdRequest .Builder ().build()) }
2229 }
2330
2431 fun back (view : View ) = finish()
You can’t perform that action at this time.
0 commit comments