Reader small image

You're reading from  Android Programming with Kotlin for Beginners

Product typeBook
Published inApr 2019
Reading LevelIntermediate
PublisherPackt
ISBN-139781789615401
Edition1st Edition
Languages
Right arrow
Author (1)
John Horton
John Horton
author image
John Horton

John Horton is a programming and gaming enthusiast based in the UK. He has a passion for writing apps, games, books, and blog articles. He is the founder of Game Code School.
Read more about John Horton

Right arrow

The Note to self app


Welcome to the first of the multi-chapter apps that we will implement in this book. When we do these projects, we will do them more professionally than we do the smaller apps. In this project, we will use String resources instead of hardcoding the text in the layouts.

Sometimes, these things can be overkill when you are trying to learn a new Android or Kotlin topic, but they are useful and important to start using as soon as possible in real projects. They soon become like second nature and the quality of our apps will benefit from it.

Using String resources

In Chapter 3, Exploring Android Studio and the Project Structure, we discussed using String resources instead of hardcoding text in our layout files. There were a few benefits of doing things this way, but it was also slightly long-winded.

As this is our first multi-chapter project, it is a good time to do things the right way. If you want a quick refresher on the benefits of String resources, refer back to Chapter...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Android Programming with Kotlin for Beginners
Published in: Apr 2019Publisher: PacktISBN-13: 9781789615401

Author (1)

author image
John Horton

John Horton is a programming and gaming enthusiast based in the UK. He has a passion for writing apps, games, books, and blog articles. He is the founder of Game Code School.
Read more about John Horton