Android development can be (and usually is) much easier and satisfying with Kotlin, compared to Java. But it’s also quite different. Lots of things, like predefined nullability (or lack of it), no static as we know it, extension and top-level functions are there to be used in our favor. No wonder that it may be confusing what approach to choose, especially when the same thing can be done in different ways.
Today I’m gonna present you a better way of initializing and using SharedPreferences in your Kotlin app. No more repeating code with initialization in every place you want to get a preference, no more long lines to get or set a pref. How to accomplish this? Use object with lateinit and custom getters & setters.
Continue reading [Tutorial] How to use SharedPreferences in Kotlin
If your summer was lazy and sleepy, it’s about time to wake up and do something! Why wait till New Year’s resolutions if you can still learn new skills this year? 😉
Below I present a collection of online courses, on a very different topics and various difficulty levels. Some of them are free and will take a weekend to finish and others are as long as a few school semesters. Your choice which one to master. All you need is the desire and determination, the rest is available on your fingertips, literally!
Introduction to Kotlin Programming [ Free Trial, ~5h of video materials ]
Women Techmakers Nanodegree Courses [ Member’s free, ~6 months ]
Continue reading Online courses: Learn new skills!