Open the Note to Self project. As a reminder, if you want to see the completed code and working app based on completing this chapter, it can be found in the Chapter 16/Note to self
folder.
Note
As the required action in this chapter jumps around between different files, classes, and methods, I encourage you to follow along with the files from the download bundle for reference open in your preferred text editor.
These next few steps will get rid of the temporary code we added in Chapter 14, Android Dialog Windows, and set up our RecyclerView
ready for binding to the RecyclerAdapter
later in the chapter:
In the
content_main.xml
file, remove the temporaryButton
with anid
ofbutton
, which we added previously for testing purposes.In the
onCreate
method ofMainActivity.java
, delete theButton
declaration and initialization, along with the anonymous class...