Hi Guys, Maybe you all are expert in terms of using RecyclerView in android. This blog is simple example for using filter option with RecyclerView adapter. As for now you will instantiate RecyclerView and set the adapter to RecyclerView as following way. RecyclerView list = (RecyclerView) findViewById(R.id.list); list.setLayoutManager(new LinearLayoutManager(this)); list.setHasFixedSize(true); ArrayList<Number> numbers = new ArrayList<>(); String ONEs[] = {"ZERO", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN"}; String TENs[] = {"ZERO", "TEN", "TWENTY", "THIRTY", "FOURTY", "FIFTY", "SIXTY", "SEVENTY", "EIGHTY", "NINETY", "HUNDRED"}; String HUNDREDS[] = {"ZERO", "HUNDRED", "TWO HUND...
Here is the simple example of maintaining database using Firebase instead of SQLite in Kotlin Programming Language . Step 1. Login into Firebase Console and create your project. Step 2. Navigate into Database and follow the steps given there. Step 3. Create your Android project and add the following classpath into root of the project's build.gradle. classpath 'com.google.gms:google-services:3.1.1' Step 4. And then add the following plugin into your module's build.gradle. apply plugin: 'com.google.gms.google-services' Step 5. And then add the following dependency into your module's build.gradle. implementation 'com.firebaseui:firebase-ui-firestore:3.3.1' That's all you wanted to access the Firebase's Firestore API in your project. Here is the methods to create document(Like table in SQLite), Add data to document, edit data from document, delete data from document. Add data to document using Hashmap. //Create employee usin...