diff --git a/mobile/android/base/home/HomeListView.java b/mobile/android/base/home/HomeListView.java index 45bd6ccc861a..27f2cb067546 100644 --- a/mobile/android/base/home/HomeListView.java +++ b/mobile/android/base/home/HomeListView.java @@ -104,6 +104,11 @@ public class HomeListView extends ListView @Override public void setOnItemClickListener(final AdapterView.OnItemClickListener listener) { + if (listener == null) { + super.setOnItemClickListener(null); + return; + } + super.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView parent, View view, int position, long id) {