TextView: relayout after setText()

This is necessary, when TextViews are recycled by RecyclerView
This commit is contained in:
Julian Winkler 2024-02-08 16:29:31 +01:00
parent 7b952c4336
commit 77403170d2

View file

@ -63,6 +63,7 @@ public class TextView extends View {
if (text instanceof android.text.Spanned)
native_set_markup(1);
requestLayout();
}
public void setText(int resId) {