Posts

Showing posts with the label Recyclerview with SearchView

SQLite Course | Android Studio | Java

Image
Features in this course: ✓Add/Update/Delete data (Image & Text) ✓Pick Image from Camera/Gallery with Crop, Flip, Rotate option ✓Show data in RecyclerView ✓Search Data ✓Sort Data ✓View data in detail ✓Share data ✓Save data ✓Delete data ✓Compatible with the latest Android OS (Tested on Android Q) Buy Source Code:  https://www.fiverr.com/share/vvAEDL YouTube Chanel: https://www.youtube.com/c/MohammadAtif1 Apps/Games Playstore:  https://play.google.com/store/apps/dev?id=6868537621115215530

Android Filter Recyclerview by using SearchView in ToolBar or actionbar

Image
In this tutorial we will cover the following: ✔ Recyclerview ✔ CardView ✔ Custom Row ✔ SearchView ✔ Row Animation ✔ Item Click Step 01: Add following dependencies in build.gradle(Module:app) under dependencies{} implementation 'com.android.support:design:27.1.0' implementation 'com.android.support:cardview-v7:27.1.0' implementation 'com.android.support:recyclerview-v7:27.1.0' Step 02: Create menu.xml  under res>menu folder, to search item. <? xml version= "1.0" encoding= "utf-8" ?> < menu xmlns: android = "http://schemas.android.com/apk/res/android"    xmlns: app = "http://schemas.android.com/apk/res-auto"    xmlns: tools = "http://schemas.android.com/tools"    tools :context= ".MainActivity" > < item android :id= "@+id/action_search" android :title= "Search" app :actionViewClass= "android.support.v7.widget.Search...