protected virtual void Loading(bool isLoading){
InvokeOnMainThread(()=>{
_shouldbeLoading = isLoading;
if (isLoading) {
if (string.IsNullOrEmpty(Title))
Title = "Loading...";
indicator.StartAnimating();
this.indicator.Hidden = false;
_shouldbeLoading = true;
} else {
if (string.IsNullOrEmpty(Title))
Title = "Form";
indicator.StopAnimating();
this.indicator.Hidden = true;
}
});
}