Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.


Binding Data in the Activity

To properly bind data in a RecyclerView, you need to add <data> attributes to both the item layout and the activity layout. We just added the <data> attribute in the hourly_list_item.xml file, but we also need to add the following in the activity_hourly_forecast.xml file: