[過去ログ]
Flutterやろうよ!!! 2 (1002レス)
Flutterやろうよ!!! 2 http://mevius.5ch.net/test/read.cgi/tech/1611976959/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
103: デフォルトの名無しさん (ワッチョイ d790-XJ0Q) [sage] 2021/02/09(火) 22:30:23 ID:iPD7ZJPG0 https://api.flutter.dev/flutter/widgets/ListView-class.html のところに書いてあるでしょ Child elements' lifecycle Creation While laying out the list, visible children's elements, states and render objects will be created lazily based on existing widgets (such as when using the default constructor) or lazily provided ones (such as when using the ListView.builder constructor). リストをレイアウトするとき、見える子のElement,State,RenderObjectsがLazyに作成される http://mevius.5ch.net/test/read.cgi/tech/1611976959/103
104: デフォルトの名無しさん (ワッチョイ d790-XJ0Q) [sage] 2021/02/09(火) 22:30:53 ID:iPD7ZJPG0 Destruction When a child is scrolled out of view, the associated element subtree, states and render objects are destroyed. A new child at the same position in the list will be lazily recreated along with new elements, states and render objects when it is scrolled back. 子がビューからスクロールアウトしたら、関連するElement,State,RenderObjectsは全部破棄される http://mevius.5ch.net/test/read.cgi/tech/1611976959/104
105: デフォルトの名無しさん (ワッチョイ d790-XJ0Q) [sage] 2021/02/09(火) 22:35:48 ID:iPD7ZJPG0 で、その後に Destruction mitigation で続きがあって、ListView.BuilderのaddAutomaticKeepAlivesがtrueだと保持されるの?? ここら辺はまだよく知らねw http://mevius.5ch.net/test/read.cgi/tech/1611976959/105
106: デフォルトの名無しさん (ワッチョイ d790-XJ0Q) [sage] 2021/02/09(火) 23:28:39 ID:iPD7ZJPG0 だから、結局、基本、見えてる部分+前後の多少のマージンの部分だけが保持されてるでOKじゃね?? 見えてない部分は保持されてない 巨大なリストでも問題なし でこの話は終了 異論は認めない http://mevius.5ch.net/test/read.cgi/tech/1611976959/106
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.034s