public static <TT> Func5<TT, ItemGroup<TT, Object>, Context, View, ViewGroup, View> constructDisplayTextViewMapper(final BiFunction<TT, ItemGroup<TT, Object>, TextParam> displayTextMapper, @Nullable final BiFunction<Context, ViewGroup, TextView> textViewCreator) {
        final BiFunction<Context, ViewGroup, TextView> tvCreator = textViewCreator != null ? textViewCreator :
            (ctx, parent) -> ViewUtils.createTextItem(ctx, R.style.text_default, TextParam.text(""));
        return (item, itemGroup, context, view, parent) -> {
            final TextView tv = view instanceof TextView ? (TextView) view : tvCreator.apply(context, parent);
            final TextParam tp = displayTextMapper == null ? TextParam.text(String.valueOf(item)) : displayTextMapper.apply(item, itemGroup);
            if (tp == null) {
                tv.setText("--");
            } else {
                tp.applyTo(tv);
            }
            return tv;
        };
    }
Sets a display providing the text visualization for an item
main/src/main/java/cgeo/geocaching/ui/SimpleItemListModel.java