diff --git a/calculatorpp/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java b/calculatorpp/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java index 8c4a1bfd..ea24d0bc 100644 --- a/calculatorpp/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java +++ b/calculatorpp/src/main/java/org/solovyev/android/calculator/math/edit/AbstractMathEntityListFragment.java @@ -226,7 +226,6 @@ public abstract class AbstractMathEntityListFragment exten if (convertView == null) { result = (ViewGroup) super.getView(position, convertView, parent); - fillView(position, result); } else { result = (ViewGroup) convertView; @@ -240,6 +239,9 @@ public abstract class AbstractMathEntityListFragment exten private void fillView(int position, @NotNull ViewGroup result) { final T mathEntity = getItem(position); + final TextView text = (TextView) result.findViewById(R.id.math_entity_text); + text.setText(String.valueOf(mathEntity)); + final String mathEntityDescription = descriptionGetter.getDescription(getContext(), mathEntity.getName()); if (!StringUtils.isEmpty(mathEntityDescription)) { final TextView description = (TextView) result.findViewById(R.id.math_entity_description);