簡體   English   中英

在不使用多線程的情況下實現加載指示器

[英]Implementing Loading indicator without using multi threading

當某個進程正在運行而不使用 Task.Run 時,有沒有辦法實現加載指示器?

在 Xamarin Forms 中,您可以將加載指示器的IsVisible屬性綁定到視圖 model 上的屬性。

如果您使用的是 Xamarin.Android 或 Xamarin.Z1BDF6059991920DB11ZCBDF8508204CEB4 會更有效。 For Xamarin.Android for instance you would bind to the Visibility property on an Android View but would need a custom converter to convert from Boolean values to the Android Visibility values Visibile or Invisible

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM