udacity / andfun-kotlin-sleep-tracker-with-recyclerview

Other
102 stars 229 forks source link

Step.11-Solution-Implement-a-Click-Listener #12

Closed ritvikmahajan17 closed 3 years ago

ritvikmahajan17 commented 4 years ago

in app/src/main/res/layout/list_item_sleep_night.xml

<variable name="clickListener" type="com.example.android.trackmysleepquality.sleeptracker.SleepNightListener" />

The type path is incorrect. Instead it should be

type="com.example.android.trackmysleepquality.sleeptracker.SleepNightAdapter.SleepNightListener"