Tag Archives: Kotlin

How to create a list view in android using Kotlin?

By | April 10, 2025

Lists are common way of representing data in any mobile application. In this example I’ll create a list view of all countries using Kotlin for Android. This implementation will include the necessary components to display country names in a RecyclerView. First, let’s organize this into several parts: To set up this project, you’ll need to:… Read More »

Setting button actions programatically in Java, Python, JavaScript, SWIFT and Kotlin

By | January 9, 2024

Button action calls for an action when user tap on a button. This may be for making a service call, for doing some calculation or simply just to dismiss a view. Here are the different ways of setting button action in different languages. Java Python (TKinter) JavaScript: Swift Kotlin These examples demonstrate how to set… Read More »