Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
モデルにデータがない場合、ListView は単なる空白のフォームです。モデルにデータがないことを知らせる便利なメッセージを表示する方法を知りたいです。ありがとうございました。
リストビューとテキスト要素を重ねます。model.count に応じて、visibilty を true または false に設定します。
ListView{ visible : if(model.count > 0) true;else false; } Text{ visible : if(model.count > 0) false;else true; }