我正在使用 Xamarin.forms ,有时候用户会在同一个按钮上点击两次,我会搜索一下以避免两次打开同一页,也许在第一次点击后禁用按钮就可以了,但是如果导航堆栈上已存在页面,我正在搜索以避免打开同一页面。
btnCustomerPage.Clicked += (object sender, EventArgs e) =>
{
//CustomerPage already Exist on Navigation Stack,So user already open it.
Navigation.PushAsync(new CustomerPage();
};
答案 0 :(得分:11)
service firebase.storage {
match /b/omega-towers-f5beb.appspot.com/o {
match /{allPaths=**} {
allow read, write: if request.auth != null;
}
}
}