Your First Kotlin Android App · About Dialog | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4936497-your-first-kotlin-android-app/lessons/43

The “aboutTitle” string property should contain a ṕlaceholder to make use of the BuildConfig.VERSION_NAME property to actually display the app version. E.g., something like:
<string name="aboutTitle">Time Fighter - v%1$s</string>

1 Like

@rbondoc Can you please help with this when you get a chance? Thank you - much appreciated! :]

To make this work I had to add this to the import statements

import com.raywenderlich.timefighter.jamesDangelo.BuildConfig

Replace with what your Package looks like