Добавить
Уведомления

Android GridView With Filter and OnClickListner part 2 || GridView with search filter

#gridview #larntech Android GridView With Filter and OnClickListner: GridView Items will Contain CardView, Image, Text, and Description GridView onclick opens a new activity and displays the image and name of the clicked item. GridView Search will filter gridview Items based on name and description. Tutorial divided into 3 parts: PART 1: Create GridView with Image, Text, and Description: Here we shall learn how to: 1. Add gridview in our activity. 2. Adding cardveiw library in our build Gradle 2. Create layout that will hold gridview items ( image, name, description ) in a cardview create a modal that will hold data 3. Create Adapter class that will extend BaseAdapter ( this link data source to our gridview ) 4. Copy and Past our images 5. Display our gridview part1 https://youtu.be/M-76-v8AJAk PART 2: Adding Search/Filter to Our GridView: Here we shall learn how to: 1. Add menu items in android studio 2. Inflate menu item and display in our activity on create method. 3. Implement a filterable method in our adapter. 4. Add another list of items that will contain filtered items. 5. Perform the filter in our gridview. part2: https://youtu.be/A7CPS-PX4jY Part 3: Adding OnclickListener in our GridView: Here we shall learn how to: 1. Listen to the clicked gridview item. 2. Create a new activity that will open when gridview item is clicked 3. Open new activity when gridview is clicked 4. Pass Data from clicked Grid Item to our new activity. part3: https://youtu.be/JLIak-YEMkc Thanks for watching it. For additional help comment below. Source code and additional detail https://larntech.net/gridview-with-cardview/

12+
15 просмотров
2 года назад
5 декабря 2023 г.
12+
15 просмотров
2 года назад
5 декабря 2023 г.

#gridview #larntech Android GridView With Filter and OnClickListner: GridView Items will Contain CardView, Image, Text, and Description GridView onclick opens a new activity and displays the image and name of the clicked item. GridView Search will filter gridview Items based on name and description. Tutorial divided into 3 parts: PART 1: Create GridView with Image, Text, and Description: Here we shall learn how to: 1. Add gridview in our activity. 2. Adding cardveiw library in our build Gradle 2. Create layout that will hold gridview items ( image, name, description ) in a cardview create a modal that will hold data 3. Create Adapter class that will extend BaseAdapter ( this link data source to our gridview ) 4. Copy and Past our images 5. Display our gridview part1 https://youtu.be/M-76-v8AJAk PART 2: Adding Search/Filter to Our GridView: Here we shall learn how to: 1. Add menu items in android studio 2. Inflate menu item and display in our activity on create method. 3. Implement a filterable method in our adapter. 4. Add another list of items that will contain filtered items. 5. Perform the filter in our gridview. part2: https://youtu.be/A7CPS-PX4jY Part 3: Adding OnclickListener in our GridView: Here we shall learn how to: 1. Listen to the clicked gridview item. 2. Create a new activity that will open when gridview item is clicked 3. Open new activity when gridview is clicked 4. Pass Data from clicked Grid Item to our new activity. part3: https://youtu.be/JLIak-YEMkc Thanks for watching it. For additional help comment below. Source code and additional detail https://larntech.net/gridview-with-cardview/

, чтобы оставлять комментарии