Posts

Showing posts with the label Custom ListView

Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener - Android Studio

Image
     DESCRIPTION      This Tutorial will cover: ✔ListView(Image, Title, Description) ✔Filterable ListView ✔SearchView on ActionBar/Toolbar to search ListView items ✔Intent to go to NewActivity onItemClick ✔BackButton in ActionBar of NewActivity      VIDEO           SOURCE CODE      Step 1:  Create a new project   OR   Open your project Step 2:  Create New Activity File>New>Activity>EmptyActivity Step 3:  Create  menu.xml  under   res>menu   folder, to   search   item. Step 4:  Create  model.xml  in   res>layout   folder,   to design row Step 5: Place some images in res>drawable folder Step 5: Code: AndroidMenifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android= "http://schemas.android.com/apk/res/android" package= "com.blogspot....

Android SQLite CRUD and ListView - Android Studio Tutorial

Image
      DESCRIPTION       ✔Enter data(Text, Image) in SQLite ✔Read data(Text, Image) from SQLite in Custom ListView ✔Custom dialog to update record ✔Update data(Text, Image) by onLongClicking the row of ListView ✔Delete data(Text, Image) by onLongClicking the row of ListView ✔Select Image from gallery using Library, crop/rotate image. Link of image library used: https://github.com/ArthurHub/Android-Image-Cropper       VIDEO             SOURCE CODE       Step 1:  Create a new project   OR   Open your project Step 2:  Create New Activity File>New>Activity>EmptyActivity Step 3: Add following libraries in build.gradle(Module:app)  implementation 'com.android.support:design:27.1.0' /*cardview library for our row.xml*/ implementation 'com.android.support:cardview-v7:27.1.0' /*image choosing/cropping library*/ implementatio...