public void setColumnCount(final int columnCount) {
        if (columnCount <= 1) {
            binding.list.setLayoutManager(new LinearLayoutManager(this.getContext()));
        } else {
            binding.list.setLayoutManager(new GridLayoutManager(this.getContext(), columnCount));
        }
        handleModelChange(SimpleItemListModel.ChangeType.COMPLETE);
    }
This view displays and maintains a list of simple view items, mainly for (single or multiple)
item selection lists. It provides special support for grouping, filtering and "select all" for such
lists.
main/src/main/java/cgeo/geocaching/ui/SimpleItemListView.java