Custom ListView with SearchView on ActionBar/Toolbar & onItemClick listener - Android Studio
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 projectOROpen your project Step 2: Create New Activity File>New>Activity>EmptyActivity Step 3: Create menu.xml underres>menufolder, tosearchitem. Step 4: Create model.xml inres>layoutfolder,to design row Step 5: Place some images in res>drawable folder Step 5: Code: AndroidMenifest.xml
<?xml version="1.0" encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.blogspot.devofandroid.myapplication"><applicationandroid:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round&…
SOURCE CODE Step 1: Create a new projectOROpen your project Step 2: Create New Activity File>New>Activity>EmptyActivity Step 3: Create menu.xml underres>menufolder, tosearchitem. Step 4: Create model.xml inres>layoutfolder,to design row Step 5: Place some images in res>drawable folder Step 5: Code: AndroidMenifest.xml
<?xml version="1.0" encoding="utf-8"?><manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.blogspot.devofandroid.myapplication"><applicationandroid:allowBackup="true"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round&…
Android SQLite CRUD and ListView - Android Studio Tutorial
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 projectOROpen 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*/implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.+'
Step 4: Code AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?><m…
✔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 projectOROpen 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*/implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.+'
Step 4: Code AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?><m…
No comments:
Post a Comment