We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763c446 commit b583ba8Copy full SHA for b583ba8
library/src/main/java/com/tokenautocomplete/ViewSpan.java
@@ -30,7 +30,7 @@ public ViewSpan(View view, ViewSpan.Layout layout) {
30
}
31
32
private void prepView() {
33
- if (layout.getMaxViewSpanWidth() != cachedMaxWidth) {
+ if (layout.getMaxViewSpanWidth() != cachedMaxWidth || view.isLayoutRequested()) {
34
cachedMaxWidth = layout.getMaxViewSpanWidth();
35
36
int spec = View.MeasureSpec.AT_MOST;
0 commit comments