Your First Kotlin Android App: Polishing the App

Jul 14 2022 · Kotlin 1.6, Android 12, Android Studio Bumblebee | 2021.1.1

Part 3: Finish the App

20. Navigate to the About Page

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 19. Challenge: Create an About Page Next episode: 21. Setup App Icon & Display Name

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

To navigate to the about acitvity, you’ll be working with something called an Intent. An Intent is just an object that that is used to communicate between components in Android. It is commonly used to communicate between activities. For example, it can be used to start another activity and it can also be used to send data between activities.

private fun navigateToAboutPage() {
    
}
val intent = Intent(this, AboutActivity::class.java)
startActivity(intent)
binding.infoButton?.setOnClickListener {
  navigateToAboutPage()
}
android:parentActivityName=".MainActivity"
android:screenOrientation="landscape"
title = getString(R.string.about_page_title)
  private lateinit var binding: ActivityAboutBinding

  override fun onCreate(savedInstanceState: Bundle?) {
    ...
    binding = ActivityAboutBinding.inflate(layoutInflater)
    setContentView(binding.root)
    ...
binding.backButton?.setOnClickListener {
  finish()
}