# Cannot make ScheduleMeetingsListView item clickable

**URL:** <https://devforum.zoom.us/t/cannot-make-schedulemeetingslistview-item-clickable/24522>\
**Category:** Meeting SDK\
**Created:** [July 19, 2020, 12:44am UTC](https://devforum.zoom.us/t/cannot-make-schedulemeetingslistview-item-clickable/24522 "2020-07-19T00:44:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john.a.stevens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/john.a.stevens/32/11977_2.png) [@john.a.stevens](https://devforum.zoom.us/u/john.a.stevens)\
**Post date:** [July 19, 2020, 12:44am UTC](https://devforum.zoom.us/t/cannot-make-schedulemeetingslistview-item-clickable/24522/1 "2020-07-19T00:44:25Z")

</div>

**Description**  
I am using the SDK “sample” app in order to learn the SDK, and make an alteration to the PreMeetingExampleActivity to make the SchelduleMeetingListView items clickable to launch a meeting.

**Which version?**  
SDK: 2020-06-30 @ v5.0.24433.0616  
Android Studio: 4.0

**To Reproduce(If applicable)**  
In the onCreate() Override in PreMeetingExampleActivity.java, I have added the following code below mListView.setAdapter(mAdapter);

> ```
> mListView.setOnItemClickListener(new ScheduledMeetingsListView.OnItemClickListener() {
> @Override
> public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
> Log.i(TAG, "Meeting Item clicked.");
> );
> 
> ```

When the PreMeetingExampleActivity is displayed, and I touch any scheduled meetings, this is not called.  
I have tried “new ListView.OnItemClickListener”, “new AdapterView.OnItemClickListener()” and anything else I can think of, all with the same result. Clicking on any scheduled meeting item displayed in the PreMeetingExampleActivity is the same, the onItemClick Override is never called.  
Any assistance/advice on what I am doing wrong appreciated.

**Smartphone (please complete the following information):**

- Device: Google Pixel 2
- OS: Android
- Version 10

**Additional context**  
The reason I am altering the sample app from the SDK is that any time I try and create a Project and add the SDK to it, even if I copy code from the SDK, it refuses to initialise the SDK.

It is urgent I create this locked down meeting app in the next few days, and I am getting nowhere fast.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [July 24, 2020, 5:01am UTC](https://devforum.zoom.us/t/cannot-make-schedulemeetingslistview-item-clickable/24522/2 "2020-07-24T05:01:18Z")

</div>

Hi @john.a.stevens,

Thanks for the post. The SDK itself does not have any restriction to the list view item itself so you could implement the onclick event. As the issue you are facing is not related to SDK interface so we might not be the best person to speak with. The code snippet provided looks good so the issue might caused by something else. The following links could be helpful:

- [https://stackoverflow.com/questions/7645880/listview-with-onitemclicklistener](https://stackoverflow.com/questions/7645880/listview-with-onitemclicklistener)
- [https://stackoverflow.com/questions/17851687/how-to-handle-the-click-event-in-listview-in-android](https://stackoverflow.com/questions/17851687/how-to-handle-the-click-event-in-listview-in-android)
- [https://stackoverflow.com/questions/18405299/onitemclicklistener-using-arrayadapter-for-listview](https://stackoverflow.com/questions/18405299/onitemclicklistener-using-arrayadapter-for-listview)
- [https://android--code.blogspot.com/2015/08/android-listview-item-click.html](https://android--code.blogspot.com/2015/08/android-listview-item-click.html)

Thanks!

---

<div class="post-metadata">

**Author:** ![john.a.stevens](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/john.a.stevens/32/11977_2.png) [@john.a.stevens](https://devforum.zoom.us/u/john.a.stevens)\
**Post date:** [August 2, 2020, 10:53pm UTC](https://devforum.zoom.us/t/cannot-make-schedulemeetingslistview-item-clickable/24522/3 "2020-08-02T22:53:14Z")

</div>

Thanks Carson,  
Tried all of those and nothing worked. So instead I am putting “Join” buttons on all the items and processing onClick functions on the buttons. Working fine, just would have been nice not to need the buttons.  
If I ever get to properly integrate the SDK into a blank Project and start from scratch, I might figure it out then.  
Every time I try to add the SDK into a blank project, it builds, but it does not ever properly initialise the SDK. Even if I copy the code from the “sample” app into it.  
There must be something I am missing. Set all the dependencies correctly (it builds).  
Cheers
