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.