I’m Learning Kotlin By Creating Apps — This is my journey so far. [Part 2]

Eleftheria Batsou
3 min readMay 7, 2020

--

🧠Objective: Learn Kotlin by creating apps
🤓Help: Android App Development Masterclass using Kotlin
📚Technologies: Kotlin, MaterialUI (& Github)
💻Editor: Android Studio
⌛️Duration: About 2 weeks

► In this post, you’ll find 1 app while in my previous post you can find 4 apps.

► To create the app I followed the tutorial “Android App Development Masterclass using Kotlin” from Udemy, instructed by Tim Buchalka and Jean-Paul Roberts.

► In every application I’ve done so far, I tried to learn and create something different. These apps are far from perfect, but it’s a sample of my work and learning progress.

► In the future, better apps are going to be added. My next goal is to study Kotlin through Developing Android Apps With Kotlin, a course from Udacity.

5. Task Timer App

Task Timer App

About the task timer: It this app you can add a name for a task, a description and also an order that you want to appear that task. You can also edit or even delete the task. Of course, you can add multiple tasks as well they will be saved in a database. By long-tapping on a task, a timer will start and if you click it again the timer will stop. If you long click on a task but then long click on another task, then the timer for the first one will stop.

In this app you can also find the ‘settings’, from there you can change the starting day of the week (for example is it going to be Sunday or Monday) as well as the minimum duration your timer is going to work (for example you can set the timer to track the time only if a task runs for more than 2 minutes). Last but not least, you can find additional information about the app and the creator of it!

I worked with:

  • SQL databases and tables, I learned the basics actions like add/edit/delete plus a few more basic things…
  • Fragments (swapping fragments, multi-pane fragments), and wow, fragments are so important in Kotlin! I had no idea!!
  • Activity and Fragment lifecycle
  • ViewModel, Singleton class, ContentProvider, UriMatcher, Mime Types, Extension functions, Shared preferences, Image Asset Studio
  • Multiple layouts and different layouts for different APIs
  • Dialogs and dialog callbacks, Seekbars
  • Versioning and build.gradle, supporting older versions
  • Fixing warnings and bugs

code | demo

Thank you for reading, feel free to comment :)

Would you like to get me a coffee?!☕️

You can do that here → paypal.me/eleftheriabatsou

But If you can’t, that’s ok too 😍.

It would be nice to subscribe to my youtube channel. It’s free and it helps to create more content. Thank you.

Youtube | Codepen | GitHub | Twitter | Site | Instagram

--

--

Eleftheria Batsou

Hi, I’m a community manager and an app developer/UX researcher by passion. I love learning, teaching and sharing. My passions are tech, UX, arts & working out.