# education


10/12/2022, 3:59 AM
I’m teaching a second year college course in Kotlin this year (part of a diploma program that teaches mobile app development). The course was previously taught in Swift, but we shifted our focus this year to Android/Kotlin, and so some parts of the course are being built as I go… I thought I could get away with toy examples and problems for most of the course, but my students are really hungry for some good real-world examples that we can build/walkthrough/analyze. I don’t have anything on hand that I can use. Does anyone have any suggestions on a good smallish project that I could use to demonstrate especially some aspects of OOP in Kotlin in a more practically-oriented way than the typical Vehicle > Car > Toyota approach? We’re just finishing a module on OOP then will be moving into functional, so something that I can use to compare and contrast would be even better…


10/12/2022, 6:43 AM
I am not sure that it is relevant for mobile course, but one of the problems I gave last year is to do a text-based table database. Also there is a huge field for simple simulations.

Ksenia Shneyveys

10/12/2022, 11:39 AM
Hi, Ashley! You might be familiar with the Google’s Android curriculum in Kotlin, they have some project examples there, as well as Codelabs.

Arilson José de Oliveira Júnior

10/12/2022, 1:01 PM
Hi @Ashley, I guess you can use a simple pattern of communication with a data source to demonstrate some aspects of OOP. Consider the View -> Repository -> Data Source. 1. Your DS can have a method to access some data class; 2. You can explore some characteristics of the REPO, its constructor, properties and methods; 3. And in the View you can discuss about the use of one object of REPO and calls of methods


10/12/2022, 2:46 PM
Thanks for the suggestions!