What is (s/g)etFreezesText in TextView?

前端 未结 2 1341
无人及你
无人及你 2021-01-01 23:30

As of recently (probably as a new SDK feature), when I try to pull text from a Textview, I first get the method getFreezesText(), instead of

2条回答
  •  佛祖请我去吃肉
    2021-01-01 23:52

    android:freezesText="true" will freeze your last completed text. But what is the last completed Text? Suppose you are showing a textView which is changing after every 2 seconds everything is okay until you rotate the screen and if you rotate the screen the text inside textView will not be visible, here freezesText comes, it will freeze the last showed text (last completed Text).

提交回复
热议问题