Android Kotlin example to pass data from one Activity to another
Code vs Color | Android
by
3y ago
This Kotlin Android tutorial will show you how to pass data from one activity to another. We will use Android studio in this example ..read more
Visit website
How to change the default theme and download theme in Android Studio
Code vs Color | Android
by
3y ago
Learn how to change theme in android studio. We can switch to dark and light them from the preference and also we can download third party themes easily ..read more
Visit website
How to hide soft keyboard in Android (Kotlin) programmatically
Code vs Color | Android
by
3y ago
Android program to hide software keyboard programmatically in Kotlin. Keyboard opens automatically when we clicks on an EditText. We can also programmatically hide it using system service ..read more
Visit website
Create a recyclerview with image from API in Kotlin Android
Code vs Color | Android
by
3y ago
Learn to create a recyclerview in Kotlin with image and other info. We will load the data from an API and load the data in it ..read more
Visit website
How to delete an item from a recyclerview in Android(Kotlin)
Code vs Color | Android
by
3y ago
Learn how to delete an item from recyclerview in kotlin. We will create one delete button to delete one item from the recyclerview. You will learn how to delete and refresh a recyclerview ..read more
Visit website
How to change the App name and package name in Android Studio
Code vs Color | Android
by
3y ago
Learn how to change the application name and package name in Android Studio. In this post, I will show you how to use Android studio to change the name and package of an Android project ..read more
Visit website
Android Kotlin program to load image from url using glide
Code vs Color | Android
by admin
4y ago
Configure Glide : Go (here)[https://github.com/bumptech/glide] to check for the latest version of Glide. Open your build.gradle in your project file and add the below to the repositories tab : repositories { mavenCentral() google() } Next, open the build.gradle module level file and add the below dependencies to add Glide : implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' Make sure to pick the latest versions. Sync the Android studio project. Next, we will add one ImageView and load image to it using Glide :   ..read more
Visit website
Java 8 development with Android Studio 3.0 -Part 1
Code vs Color | Android
by admin
4y ago
Java 8 Development using Android Studio : Using Android Studio 3.0 preview 1 and later, some subset of Java 8 language features can be used on Android projects. Some features are compatible with all API levels and some are only for API level 24 and higher. Previously for using Java8 on Android projects, jack toolchain, Retrolambda or DexGuard was used. Jack toolchain is now deprecated ( check this  post ) and the Java 8 support is moved to the default keychain. You can still use Jack or other libraries but it is advisable to migrate to the default toolchain. Migration : If you have a project ..read more
Visit website
Material Design Tutorial 11: Bottom Navigation View
Code vs Color | Android
by admin
4y ago
Bottom Navigation View in Android : Gif: Bottom Navigation View Demo App Previously to implement Bottom Navigation View in an android application, we need to use third party libraries. But with the release of the V25 of Design Support library, we can easily implement it with full backward support. Known as “BottomNavigationView“, this widget is same as TabLayout .BottomNavigationView takes the input entries from a menu resource file. Lets check how BottomNavigationView works : 1. Create a simple Application with activity “MainActivity” and its resource file “activity_main.xml“. 2. Add Design ..read more
Visit website

Follow Code vs Color | Android on FeedSpot

Continue with Google
Continue with Apple
OR