Welcome to the Treehouse Community
Looking to learn something new?
ListFragment OnListItemClick not being called for EditFriendsActivity - Ribbit App
For some reason nothing happens when I click on any of the rows of friends in the EditFriendsActivity. It works when I tab and hit enter in the emulator but this activity is unresponsive when I click. Is there something I need to do in one of the xml layout files? If anyone could offer suggestions that would point me in the right direction it would be appreciated. I've got through the videos multiple times and can't seem to find out where my code deviates from that of Ben's.
In case anyone else comes across this problem I had to make a change in my fragment_edit_friends.xml layout where android:layout_width and android:layout_height needed to both be "wrap_content" instead of "match_parent". Otherwise the device would only respond if I clicked in the area defined by the following line: android:layout_marginLeft="16dp".