@Override
    public int getItemCount() {
        return mElements.size();
    }
Sets the item click listener for the adapter

@param listener {@link OnItemClickListener}
app/src/main/java/no/nordicsemi/android/nrfmesh/adapter/GroupModelAdapter.java