why it thinks I gave it an int.
R is a class created by the
IDE as a place to hold the constants it creates. Here is the path to R.java for one of my projects:
D:\AndroidDevelopment\workspace\DialogFragmentTest\gen\com\example\dialogfragmenttest\R.java
If you look in R.java there will be an inner class nameed layout and inside of that item_list_view will be defined as an int.
A reference for the R.java file:
https://www.javatpoint.com/R-java-file-in-android
The RecipeAdapter class's constructor takes a reference to an Activity as its second argument. Would the class holding the above statement be the desired Activity? Then this would refer to that Activity.