Java in Android Studio: Custom Toast Message

custom toast message in android using java

Today you will learn how to build a custom toast message in Android Studio, using Java language. Starting Project In an empty activity project, I name my project “MyCustomToastMessage” and choose Java for the programming language. For the Minimum API level, I leave it to API 15: Android 4.0.3 (IceCreamSandwich). After waiting for Gradle to … Read more

Loading

Android Studio: Sort Array Lists Using Comparable and Comparator interfaces

sort array lists in android studio

In this video we will see how to make an object comparable and sort array lists using the comparable and comparator interfaces. To make an object comparable, we need to implement either the comparable interface and implement the compareTo method, or use the Comparator interface and implement its compare method. In this video we work … Read more

Loading