Create your account

Already have an account? Login here

Create account

74. Making the Footer work

Design + Code an Android App from Scratch

Woah, wait a second..

Scrounge up some loose change to buy this course, or login to your account to view this lesson.

Alright, buy it for $25 Or login to your account if you purchased already.

This video shows how to handle events from the Button contained in the footer of the RecyclerView to add items to the database. We get a reference to the Button inside the FooterHolder class and implement the onClickListener which will fire whenever the Button is pressed. We propagate this event from the Adapter to the Activity where we can display the Dialog Add that finally lets the person add the item to the database.

Course Cirriculum