Author: Sergey Kargopolov

I’m a software developer with a passion for teaching. I’ve written lots of articles for AppsDeveloperBlog.com and made plenty of video tutorials on my YouTube channel(https://youtube.com/@SergeyKargopolov). If you want to dive deeper, I’ve also got some courses on Udemy(https://www.udemy.com/user/sergeykargopolov/) you might like.

When I’m not coding, I love to travel. I also share my travel adventures over at TravelLocalCanada.com. Hope to see you around on one of these platforms!

Web: www.appsdeveloperblog.com

In this short code example below we will learn how to create ImageButton in Kotlin programmatically. A short code snippet in Kotlin below will cover: Create ImageView in a ConstraintLayout Load image from a resource Set onClickListener on ImageButton Change ImageButton image when the button is tapped For this example to work and to load an…

Read More Create ImageButton in Kotlin programmatically

In this short code example I am going to share with you how to concatenate two ArrayList in Java.  Concatenate ArrayList using addAll() function Let’s say we have these two ArrayList(s): List<String> itemsList1 = new ArrayList(Arrays.asList(“One”, “Two”)); List<String> itemsList2 = new ArrayList(Arrays.asList(“Three”, “Four”)); To concatenate the two lists together we can create a new ArrayList, and…

Read More Concatenate Two ArrayList in Java

In this short Kotlin code example we will learn how to create a single CardView in Kotlin programmatically. CardView is a FrameLayout with a rounded corner background and shadow. You can add multiple views into a CardView and then show them in a list one under another.  We will make a quotation card containing quote and…

Read More Create CardView in Kotlin Programmatically

Below is a very short tutorial on how to create RecyclerView in Kotlin programmatically. RecyclerView is a flexible view for providing a limited window into a large data set and learning how to create and use it make you even better Mobile App Developer :). The Kotlin code example below will cover: Create RecyclerView Create RecyclerAdapter Create a…

Read More Create RecyclerView in Kotlin Programmatically

With this blog post I am going to share with you how to create a ListView in Kotlin programmatically. ListView is a very commonly used UI component and knowing how to work with it enables you build even more powerful apps. The example below will cover: Create ListView in a ConstraintLayout Populate ListView with data using…

Read More Create ListView in Kotlin Programmatically

The category “Swift” has been updated with a few very useful links which contain many video tutorials and code examples that will help you build many features for your mobile application with Swift. User registration, sign in and sign out video tutorials The set of 15 video tutorials on how to create user registration, login and logout will…

Read More Swift Video Tutorials and Code Examples

In this short code example in Kotlin I am going to share with you how to create an EditText programmatically and also how to: Add the created EditText in a ConstraintLayout Set hint text for the TextView Set text color Set EditText backgroundColor Layout XML file for the EditText UI component <?xml version=”1.0″ encoding=”utf-8″?> <android.support.constraint.ConstraintLayout xmlns:android=”http://schemas.android.com/apk/res/android”…

Read More Create EditText in Kotlin Programmatically

In this very short blog post I am going to share with you how to create and add Button in Kotlin programmatically. To break it down in more details the code example below will cover: Create Button programmatically in Kotlin Handle Button onClick events Change Button background color Change Button text color Add a Button…

Read More Create Button in Kotlin Programmatically

In this tutorial, we will use Kotlin to make a simple Android mobile app that will be able to receive push notifications sent from Firebase. I used to call these kind of messages “push messages” but the correct term for this tutorials will probably be a Firebase Cloud Messaging or the FCM which also stands for Firebase Cloud Messaging.  I…

Read More Push Notifications Example with Kotlin and Firebase

Heads up guys! Google has just launched a new certification program for mobile web developers. The complete name of certification exam is Mobile Web Specialist Certification and if you have been building mobile web apps then this is your chance to show off your skills and become Google Certified Mobile Web Specialist :). Those who…

Read More A new certification program from Google for mobile web developers