Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
maureenorea-clores committed Feb 28, 2024
1 parent 36a0e48 commit 1596f2c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/src/main/java/com/rakuten/test/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class MainActivity : AppCompatActivity() {
setContentView(R.layout.activity_main)

loadFragment(MainFragment())
setupVersionsDisplay()
setupVersionDisplay()
setupBottomNav()
}

Expand Down Expand Up @@ -62,15 +62,14 @@ class MainActivity : AppCompatActivity() {
}

@SuppressLint("SetTextI18n")
private fun setupVersionsDisplay() {
private fun setupVersionDisplay() {
val aboutText = findViewById<TextView>(R.id.about)
aboutText.text =
"App (${BuildConfig.VERSION_NAME}.${BuildConfig.VERSION_CODE}), SDK (${com.rakuten.tech.mobile.inappmessaging.runtime.BuildConfig.VERSION_NAME})"
aboutText.text = "App Version: ${BuildConfig.VERSION_NAME}.${BuildConfig.VERSION_CODE}"
}

private fun closeScreenTooltipsIfAny(screenId: Int) {
// The list of viewIds to close.
// As of current version, the only way to programmatically close tooltip is by supplying these Ids.
// The list of viewIds to close. Closing currently displayed tooltip without supplying viewId is not supported
// in the current version.
var viewIds = listOf<String>()

when(screenId) {
Expand Down

0 comments on commit 1596f2c

Please sign in to comment.