Android Studio Tutorial - Part 8 (2020 Edition)

Published: 10 April 2020
on channel: DJ Malone
19,347
176

In this Android Studio tutorial we'll filter our list of products using Kotlin's filter helper method. First we'll add two new Buttons to our content_main.xml then add setOnClickListeners to them. In MainActivity we'll create multiple functions for our filters. This refactor helps keep our Android code clean.

We'll show inexpensive products and products owned by Daniel, myself. Click a Button and we'll show just those products and nothing else.

Keeping methods small helps us maintain our codebase. A month from now you'll appreciate how easy it is to add another button, another filter, more products, etc. Enjoy!

Connect with me on LinkedIn!   / danielmalone  


Watch video Android Studio Tutorial - Part 8 (2020 Edition) online without registration, duration hours minute second in high quality. This video was added by user DJ Malone 10 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,347 once and liked it 176 people.