Code

Learn free code

Firebase RecyclerView: Retrieve Images & Text, Implement SearchView, Handle Item Clicks

In this tutorial we will learn using Firebase in Android app using Android Studio. We will:✓Create Android Studio Project✓Create Firebase Project and connect our Android Studio Project to that Firebase Project✓Store Images to FirebaseStorage manually✓Add data in FirebaseDatabase✓Retrieve these data(Title, Image, Description) in RecyclerView. To retrieve Images we will use Picasso library.✓Implement SearchView✓Handle RecyclerView Item […]

Firebase RecyclerView: Retrieve Images & Text, Implement SearchView, Handle Item Clicks Read More »

SharedPreferences in Android Studio

SharedPreferences | Android Studio | Java SharedPreferences is one of the types of saving data in Android Devices. You can save String, int, boolean, long, float, and Set<String>  types of data in SharedPreferences. In SharedPreferences data is saved in the key-value form. If you have a relatively small collection of key-values that you’d like to save, then you should use the SharedPreferences APIs. You can Add, Edit/Modify and Remove data from the SharedPreferences easily.To

SharedPreferences in Android Studio Read More »

Android Bottom Sheet in Java

This tutorial is about: How to create bottom sheet using Fragment How to handle bottom sheet item/option clicks Step 1: Create a new project OR Open your project Step 2: Add following library in build.gradle(Module:app)              implementation ‘com.android.support:design:27.1.1’ Step 3: Create a fragment name it as “BootomSheetEx”. Step 4: Code build.gradle(Module:app) BootomSheetEx.java fragment_bootom_sheet_ex.xml activity_main.xml MainActivity.java Step 5:

Android Bottom Sheet in Java Read More »

Android Bottom Sheet in Kotlin

This tutorial is about: How to create bottom sheet using Fragment How to handle bottom sheet item/option clicks Step 1: Create a new Project or open new project Step 2: Add following library in build.gradle(Module:app)            implementation ‘com.android.support:design:27.1.1’ Step 3: Create a fragment name it as “BottomSheetEx”. Step 4: Code build.gradle(Module:app) BottomSheetEx.kt fragment_bottom_sheet_ex.xml activity_main.xml MainActivity.kt Step 5:Run Project Output

Android Bottom Sheet in Kotlin Read More »