<address id="xpjh9"><listing id="xpjh9"><meter id="xpjh9"></meter></listing></address>

<address id="xpjh9"><address id="xpjh9"><listing id="xpjh9"></listing></address></address>
<noframes id="xpjh9">
<noframes id="xpjh9">

<address id="xpjh9"><address id="xpjh9"><listing id="xpjh9"></listing></address></address>
    <form id="xpjh9"></form><address id="xpjh9"><listing id="xpjh9"><menuitem id="xpjh9"></menuitem></listing></address>

      <noframes id="xpjh9">
      VB.net 2010 視頻教程 VB.net 2010 視頻教程 VB.net 2010 視頻教程
      SQL Server 2008 視頻教程 c#入門經典教程 Visual Basic從門到精通視頻教程
      當前位置:
      首頁 > 編程開發 > C#編程 >
      • C#教程之Xamarin.Forms之UserDialogs 重制版本

      • 2019-03-26 20:42 來源:未知

      在 forms 里面,目前使用比較多的彈出組件是 Acr.UserDialogs ,但是這個組件有些小問題,比如 loading .hide 會同時把 toast 給一起關掉,android 下的 toast 希望是 安卓原生的toast 樣子,而不是 底部彈出一個橫條(其實是 android 的 Snackbar),對于 ios 的toast 也希望類似android 的樣子,但是 Acr.UserDialogs 里面 toast 是 snackbar 樣式,這并不符合產品需求情況。

       

      GitHub地址: https://github.com/jxnkwlp/UserDialogs2

       

      因此,我重制了一個版本, 包地址:https://www.nuget.org/packages/Passingwind.UserDialogs/

      對 toast 和 snackbar 做了區分,同時 loading 的關閉不會影響 toast 。

       

      接口有這些:

      目前沒有異步接口,因為覺得 Acr.UserDialogs  的 異步接口和同步接口 對比起來不太好理解。

      復制代碼
      void Toast(string message);
      
      void Toast(ToastConfig config);
      
      IDisposable Snackbar(string message, Action action = null);
      
      IDisposable Snackbar(SnackbarConfig config);
      
      void Alert(string message);
      
      void Alert(AlertConfig config);
      
      IDisposable ActionSheet(ActionSheetConfig config);
      
      IDisposable Loading(LoadingConfig config);
      
      IProgressDialog Progress(ProgressConfig config);
      
      void Prompt(PromptConfig config);
      
      void Form(PromptFormConfig config);
      復制代碼

       

      使用方法:

      各個接口 Config 都可以先設置默認值,比如 alert 里面 的確定按鈕,可以全局設置為 “確定”

      AlertConfig.DefaultOkText = "確定"; 

       

      這樣設置后,就不用每次使用alert 的時候去設置 確定按鈕的文本。

      UserDialogs.Instance.Alert(new AlertConfig("您當前無權限操作!").AddOkButton());

       

      相關依賴:

      Toast:  在android 上是原生的 toast 組件,在ios 上使用 MBProgressHUD

      Snackbar:  在android 上是原生的 snackbar 組件,在ios 上使用 TTGSnackbar

      Progress,Loading  在 android 上使用的是 KProgressHUD (https://github.com/jxnkwlp/KProgressHUD.csharp) 這個是代碼翻譯版本,  在 ios 上是使用 MBProgressHUD

       

      更多說明可以查看 readme 文件 https://github.com/jxnkwlp/UserDialogs2

       

      最后,覺得好給個star 再走唄

      相關教程
      江苏快3 www.651155.com | www.2350m.com | 28839s.com | www.3775799.com | 98982325.com | www.5006c.com | jixiang20.com | www.799666e.com | xpj238803.com | www.85857b.com | c67890.com | www.7920j.com | 3405o.com | www.68993268.com | 500000719.com | www.7782b.com | www.js507713.com | www.203882.com | www.30370000.com | 36400055.com | www.89677t.com | 4165i.com | www.0270w.com | h47479.com | www.hw4444.com | www.77759333.com | v997a.com | www.88470.com | 28288cc.com | www.599365.cc | www.hg290.com | www.244747.com | www.68277111.com | hg0555.com | www.hm3999.com | www.9870x4.com | ribo25.cc | www.2021x.com | bwin8w.com | www.hy6937.com | www.cdzzcx.com | fff1915.com | www.621468.com | 61324455.com | www.566850.com | www.xpj2638.com | 5906vv.com | www.9464004.com | cc1331.com | www.498266.com | www.0977711.com | 666365.bet | www.50051x.com | www.621155d.com | 2237pay.com | www.tyc8138.com | 35222hh.com | www.sxyl2.com | www.msc22.com | 00774oo.com | www.26878l.com | www.3643f.com | 228888s.com | www.68993229.com | www.wxr11.com | 77605k.com | www.5856889.com | www.js30859.com | 365225.com | www.4331j.com | www.99955508.com | 3y999.com | www.3790011.com | www.77537z.com | qqq3405.com | www.26299z.com | www.88854.com | 3522ii.com | www.989569.com | www.365.pw | 23599t.com | www.701269.com | www.28944.com | 3566rr.com | www.66376o.com | www.601710.com | ziz3.com | 55984c.com | www.39500t.com | www.bmw0004.com | www.237644.com | www.73990x.com | www.m1977.com | ee2205.com | www.8582pp.com | www.8694c.com | 67890ddd.com | www.979zf.com | www.381818.com | 9068mm.com | www.533082.com | www.3983119.com | 1185456.com | 2698o.com | www.35918s.com | www.919205.com | 058757.com | 5446f.com | www.hy2721.com | www.19019q.com | 3258i.com | zl58.com | www.85gcw.com | www.228778b.com | bb2649.com | 22ss8332.com | www.ch8966.com | www.00772n.com | gg4675.com | l3405.com | www.330687.com | www.w84l.com | www.47711.com | 2643j.com | blmdc6.com | www.422727.com | www.7920s.com | www.fbs33.com | 66458q.com | j77304.com | www.36788o.com | www.6889796.com | www.99291a.com | 58802r.com | 30179944.com | gpkjgj.vip | www.4189b.com | www.7415mm.com | www.626966.com | 32212k.com | 2381ttt.com | www.942677.com | www.91779v.com | www.8577k.cc | 4066xx.com | 3890u.com | 3424y.com | www.hqcp2.com | www.jsdc9000.com | www.hg7650.com | www.v6789.com | 3308.com | j5429.com | www.677375.com | www.sx1877.com | www.hg068008.com | www.183543.com | 3189f.com | 866666b.com | www.77210e.com | www.676zf.com | www.ihg5533.com | www.1388707.com | www.cai73cc.com | zhcp19.com | cp014.com | 5478z.com | www.210255.com | www.662by.com | www.7737gg.com | www.d526688.com | www.pjbet555.com | www.yxlm99.com | 61325500.com | mi527.com | www.030953.com | www.15355c.com | www.91779c.com | www.5966ddd.com | www.114suncity.com | wfcp666777.com | 3834505.com | mayait.cn | kk3397.com | www.811030.com | www.7375.com | www.511106.com | www.303015.me | www.2x0048.com | www.1116xj.com | chengxinbo.net | 66287y.com | 3885.com | xpjbak1.com | 61329999.com | www.195322.com | www.58uh.com | www.50052vip.com | www.nx58qp.com | www.v88139.com | www.3814.hk | www.js6169.com | www.86611f.com | 159666y.com | 3678uu.com | 3156iii.com | P35q.com | www.687198.com | www.2373l.com | www.00840i.com | www.369407.com | www.10999g.com | www.336621.com | www.653pj.com | www.e2229e.com | www.7025s.com | www.6491s.com | 2506d.com | yhguangxi.vip | 6261j.com | 01885s.com | 4194com | 3678yy.com | 33557.com | 118888222.com | v96.com | 33313k.com | 3178qq.com | 33313q.com | 89892ss.com | 5099yy.com | bet99969.com | 34200222.com | 58222m.com | dz3388.com | 3678zz.com | 33599tt.com | 272zz.net | 3066lll.com | 9737ww.me | amhg007.com | vv67890.com | 0245i.com | baoliyin.cc | ww3336.com | 3559i.com | 00vv8331.com | 66463.com | v1778.com | feicai0415.com | feicai010.com | 4123hh.com | www.tyc665.com | www.h30226.com | www.wns08888.com | www.203203.com | www.sjc02.com | www.811202.com | www.361cp.cc | www.mgm868006.com | www.79095s.com | www.679.com | www.390737.com | www.60007k.com | www.61500.cc | www.599840.com | www.504638.com | 1859005.com | 61789e.com | 9002s.com | 8569811x.com | 6261k.com | 79964b.com | www.lianhua1.com | www.761111.com | www.5504w.com | www.u3410.com | www.68993225.com | www.ct8866.com | www.318021.com | www.601710.com | www.25288l.com | www.214777.com | www.811203.com | www.665882.com | www.900248.com | www.585560.com | v22999.com | 88535y.com | 3467a.cc | ambyc5.com | www.3569f.com | www.131msc.com | www.7415xx.com | www.9422e.com | www.cp500.net | www.81678u.com | 008423.com | 87965hh.com | www.ylg3333.com | www.vns916.com | www.55070e.com | www.79579.com | www.570126.com | 1665dd.com | 4289k.com | www.pj4858.com | www.688222.com | www.a30666.vip | www.7714c.com | www.318073.com | 5804p.com | 76886p.com | www.9374z.com | www.c44bb.com | www.37377d.com | www.719113.com | 500000317.com | hhh5657.com | www.86067.com | www.299488.com | www.4809v.com | www.09299.com | 0015ll.com | 26668p.com | 1168b.com | www.hg2282.com | www.89677e.com | www.81233cc.com | www.025738.com | bwinttt.com | 99111xx.com | www.550js.com | www.97828x.vip | www.726703.com | 77605k.com | xpj888a.com | www.93818.com | www.77775309.com | www.918ae.com | 7726ddd.com | 2127h.com | www.bet815.com | www.531789.com | www.2109s.com | js14r.com | 22ss8331.com | www.76775a.com | www.8998766.com | www.394577.com | pw9.com | www.85770f.com | www.58118f.com | www.2350f.com | yabobbs.com | 11989w.com | www.819msc.com | www.60007q.com | 77116556.com | 9030y.com | www.bb2229.com | www.x5088.com | www.177502.com | 7742d.com | www.77077.com | www.47506u.com | www.665882.com | 407.com | www.39695v.com | www.8473b.com | www.917737.com | 6008590.com | www.004455.net | www.3032ii.com | www.346177.com | 11c53.com | www.xpj1511.com | www.wd088.com | www.99788o.com | wnsr8813.com | www.1382002.com | www.95458.com | 444000rrr.com | www.hg9876.com | www.115527n.com | www.303484.com | 7042004.com | www.563012.com | www.33063.cc | 921260.com | www.4446358.com | www.37266a.com | 2554.com | www.xpj3333.cc | www.12136r.com | hrbbdyy.com | 7377.com | www.28000w.com | www.602965.com | 32008.com | www.5966ooo.com | www.888258.com | u1915u.com | www.5506132.com | www.slyl3.com | lh66k.com | www.3709885.com | www.0014m.com | shen5533.com | www.msc-msc.com | www.773618.com | 33432l.com | www.333980.com | www.hf5885.com | 4278.com | www.779626.com | www.433680.com | 3522mm.com | www.v69096.com | 28758h.com | 50128e.com | www.33678rr.com | 588zzz.cc | www.112211b.com | www.954321s.com | 60876g.com | www.899238.com | www.cpyz1.com | 3650711.com | www.cc55826.com | www.53900e.com | www.1869d.com | www.68993223.com | 56988tt.com | www.588277.com | www.672866.com | 3844.com | www.bet779.com | 667766m.com | www.35849.com | www.701549.com | 2381004.com | www.xpj71333.com | 3435p.com | www.pj5875.com | www.9928i.com | 7599bb.com | www.55060f.com | 26444w.com | www.g1137.com | www.937299.com | 39990044.com | www.bb888.cc | 1259q.com | www.xam03.com | www.202314.com | www.35530.com | www.6939d.com | 0208gg.com | www.8967i.com | 3258k.com | www.vipcc.com | www.8999ka.com | swin3.com | www.558105.com | vns8y.com | www.3846s.com | www.195880.com | www.32126o.net | www.656zf.com | 366yh.com | www.5856883.com | 97987-3.com | www.1851136.com | 9479a8.com | www.pj7608.com | www.202314.com | www.39695w.com | www.783306.com | www.86611s.com | www.0014n.com | 97659.com | www.68682h.com | 66681j.com | www.8905k.com | 2021e.com | www.40598.com | o45638.com | www.68277444.com | mr8001.com | www.hj809.com | 2306m.com | www.pj7608.com | l8159.cc | www.jxcp2222.com | 320006.com | www.138cpq.com | 8520g.com | www.58665p.com | 7508f.com | www.4406488.com | 10050533.com | www.bet63h.com | blr365365.com | www.huangma22.com | 4647a.com | www.6687s.com | 2324lll.com | www.924924.com | 61325544.com | www.77210c.com | 3868yhzz.com | www.57578h.com | wfcp000111.com | www.gai00.com | 883399e.com | www.lqc6.com | www.vns111.xyz | www.338062.com | www.45hg.com | 2998i.com | www.50999y.com | 6002s.com | www.86339k.com | x08199.com | www.36788m.com | 22883c.com | www.526013.com | www.45hg.com | 1458m.com | www.4996fj.com | 7003xx.com | www.83993s.com | 5437y.com | www.609535.com | www.157479.com | 293365.com | www.5446xx.com | 3522w.cc | www.77802n.com | www.long8139.com | www.109615.com | www.281106.com | 00773z.com | www.68993262.com | 5651.com | www.475711.com | www.93818a.com | js02.app | www.bet3651687.com | 0747dd.com | www.560259.com | www.550js.com | 3176688.com | www.1466c.com | 748v.com | www.040416.com | www.938v.cc | b68080.com | www.60123t.com | www.7669f.net | hkmh.biz | www.91779j.com | 4809p.com | www.653182.com | www.0733fdc.net | 5556944.com | www.83993j.com | www.223456m.com | p888go.com | www.4568999.com | 51133ooo.com | www.hx1111.com | www.789270.com | 53262e.com | www.80075m.com | www.84816.com | zz620.com | www.pj55713.com | 3544e.com | 2757u.com | www.530079.com | 923610.com | www.101363.com | www.0077xpj.net | 76700.com | www.451956.com | www.296977.com | 891567.com | www.610875.com | www.998948.com | bet599.com | www.570477.com | www.98698s.com | 112a.net | www.018581.com | www.4996hh.com | 500000951.com | 99589j.net | www.830217.com | 32355oo.com | 333vn77.com | www.6889793.com | www.zzzz0263.com | 1489p.com | www.53537.cc | www.47bm.com | 9679z.com | www.501264.com | www.55060y.com | 915620.com | drcp444.com | www.xpj126.com | www.0909v.com | 86611e.com | www.2632n.com | www.5506132.com | t58955.com | www.098303.com | www.383335.com | 83377i.com | 4647033.com | 22225309.com | www.980221.com | www.yk222c.com | 30006q.com | bwin910.co | www.97655z.com | www.333383.com | 99306o.com | www.051069.com | www.3691a.com | www.9679y.com | ss01234.com | www.646452.com | www.huangma24.com | www.pu2678.com | bet61.com | www.843633.com | www.89677r.com | www.38200r.com | zhcp41.com | www.684344.com | www.64566e.com | www.81866r.com | u4212.com | www.876295.com | www.4058qq.com | js365dl.com | www.364511.com | www.56011b.com | www.30772.com | z9p5j.cn | 3136vv.com | www.50080d.com | www.938m.cc | 4631177.com | hbfzq.com | www.550377.com | www.661326.com | www.nbe666.com | w8381.com | 659pj.com | www.5522g.cc | www.00773c.com | www.mgm007.com | hg07111.org | 00gg8331.com | www.89959.cc | www.00773w.com | www.7893w9.com | 1724444.com | xpj99.am | www.cp7768.com | www.742022.com | www.vn22dd.com | 3122m.com | 36400033.com | www.339713.com | www.3zq04.com | www.5049p.com | www.6491h.com | 3467v.cc | sss01234.com | www.805462.com | www.77074.com | www.lj559.com | www.7171sun.com | g40033.com | 4195x.com | www.cp8009.cc | www.087l.com | www.hyzsvip.com | www.333222n.com | ylzz1115.com | dd00558.com | www.397477.com | www.77801f.com | www.sha0022.com | www.36796.com | 67888.am | yy1915.com | 774km.com | www.501340.com | www.81233f.com | www.89677g.com | www.5303.com | www.pj550055.com | 99567x.com | bj2222.com | ylg5678.com | www.gczj7.com | www.48330u.com | www.1705.com | www.2016hg.com | 3mya.com | ddcp9.com | xiaowei789.com | 4997x.com | www.673066.com | www.54400c.com | www.77786yh.com | www.56655w.com | www.15221760232.com | ly88888887.com | 1592z.com | 93922k.com | vip201678.com | www.394211.com | www.2350t.com | www.8998828.com | www.bwinyz01.com | www.hg6898.com | www.21365zz.com | 88x88.com | l444000.com | hg10n.com | 8988f.com | www.529799.com | www.2222y.cc | www.820808.com | www.07679p.com | www.xycp099.com | www.00355c.com | www.h7788l.com | 32365v.com | 28288ll.com | 085365.com | yt313.com | 7720b.com | 168c6.com | www.140018.com | www.791561.com | www.7782d.com | www.518pj.com | www.586806.com | www.45598o.com | www.97060d.com | www.181678.com | www.3775775.com | www.4938i.com | www.85770d.com | 88842949.com | 2544b7.com | 8957a.com | 33560055.com | 7340111.com | uuu4165.com | 53206655.com | 8722dddd.com | 4036xx.com | 8381b.com | aipin888.net | 1675gg.com | 88894x.com | 2506h.com | 0241p.com | m8159.cc | 4195kk.com | www.135785.com | www.309939.com | www.466780.com | www.657259.com | www.755901.com | www.882186.com | www.911070.com | www.978315.com | www.az0908.com | www.799666aa.com | www.995771.com | www.hy0038.com | www.hx1113.com | www.c71.cc | www.xinyc4.com | www.828916.com | www.699494.com | www.612918.com | www.439863.com | www.liuguan000.com | www.196880.com | www.54400e.com | o72227.com | feicai0816.com | 6601.co | 3473p.com | w1429.com | 2021k.com | 8880168.com | 22222ylg.com | 998t.cc | 56988z.vip | 35441444.com | www.ra6060.com | www.hgbet00.com | www.22885004.com | www.387345.com | www.v56789.com | www.wct555.com | www.bet63a.com | www.083377.com | www.e94600.com | www.pujing75.com | www.50051z.com | www.fcff5.com | www.621441.com | www.107658.com | 2546m.com | pjneimenggu.com | yh888a.com | 3534z.com | ggg5701.com | 876878r.com | www.3459t.com | www.tyc95.com | www.c51ii.vip | www.js8888888830.com | www.90935.com | www.95111w.com | www.gyfc3.com | www.444083.com | ooo444000.com | 07326666.com | 5488s.com | y00000.com | www.pj5901.com | www.18933i.com | www.fuck58.com | www.256531.com | www.261610.com | www.55qxc.com | www.354811.com | 51200hh.com | 8036ocom | 4400203.com | www.666xin2.com | www.hg7111.com | www.998855z.com | www.33678dd.com | www.7714r.com | www.c5638.com | www.89894d.com | b899.xyz | ylhg2233.com | h0186.com | www.2016hg.com | www.hh55826.com | www.bjl916.com | www.18kpl.com | www.099210.com | 0234aa.com | pj00ww.com | www.glc66.com | www.tyc35.com | www.sha3111.com | www.xinhuangguan.com | www.701489.com | 5168b.com | 53262yy.com | 62620029.com | www.28824s.com | www.4136s.com | www.86267n.com | www.404677.com | 159666i.com | 45637p.com | www.07078006.com | www.938w.cc | www.2418f.com | www.695093.com | hg1698.com | 35222w.com | www.0887788.com | www.138cpv.com | www.yh75060.com | www.695037.com | 94948633.com | 5647v.com | www.365109d.com | www.68199.com | www.813016.com | www.496689.com | vn6588.com | mry345.com | www.hg7651.com | www.07679i.com | www.ay7799.com | 2096r.com | 00446132.com | www.368012.com | www.9570100.com | www.5091v.com | 50128.com | 36404400.com | www.3653306.com | www.8967l.com | www.26878l.com | 0332.com | 29918.com | www.ydb01.com | www.7366009.com | www.09xyc.com | 56333.com | 8547j.com | www.0063501.com | www.087n.com | www.508533.com | 888991166.com | oo1331.com | www.67df.com | www.07163x.com | urmillionaire168.com | m72227.com | www.hg988801.com | www.52062t.com | www.545680.com | 22294400.com | www.6802pj.com | www.70915.com | www.fan03.com | 6446xx.com | ambyc6.com | www.o948o.com | www.21202x.com | 4997l.com | 5661888.com | www.617suncity.com | www.78700b.com | 5002aaa.com | z88XX.com | www.901690.com | www.51331m.com | k1.z6528.com | 56988n.vip | www.35155.com | www.371z.cc | 077ll.com | www.1869h.com | www.222244.vip | www.858856.com | ylzz322.com | www.365815k.com | www.8577b.cc | www.150883.com | 81207as3.com | www.43282.com | www.33598w.com | jixiang8.com | www.js882288.com | www.r1432.com | www.485648.com | 4255ff.com | www.9939365.com | www.57578j.com | 20778855.com | www.85770v.com | www.78680e.com | 822062.com | 2267m.com | www.p32939.com | www.617069.com | 4255gg.com | www.78z5.com | www.1368k.cc | u2146.com | www.7676760088.com | www.sx1822.com | 2019a.cc | www.j32126.cc | www.d63568.com | 5003025.com | 5130.cc | www.0612j.com | 196600.com | 5478e.com | www.ba504.com | youfa99.vip | 6363yy.com | www.574546.com | pj334433.com | 55155n.com | www.hg33397.com | 98982325.com | zz57686.com | www.55pjjt.com | 69447711.com | 54443k.com | www.wns33.me | 51335z.com | www.hg9092.com | www.428.com | x48e.com | www.365815a.com | www.727563.com | 52688r.com | www.yh556699.com | www.8499a.com | 9007893.com | www.383188.com | www.910424.com | 76886m.com | www.5446gg.com | cidubbs.com | 1156.com | www.8998733.com | dd7742.com | www.pj990.com | www.33csj.com | 66681g.com | www.466587.com | www.81233e.com | 91019g.net | www.9989576.com | 4155.cc | www.hg8547.com | www.898463.com | 76886l.com | www.f063801.com | 8988c.com | www.58777b.com | www.55yfa.com | 2jsiii.com | www.1429g7.com | sxpj62607.com | www.7111p.com | www.6cpb.com | 28288y.com | www.469701.com | 0600y.cc | www.y5777.com | www.937816.com | 52239.com | www.c63568.com | pt7008.com | www.54mscc.com | www.97655e.com | www.7720k.com | www.14177.com | 272y.net | www.9895d.com | aa00558.com | www.jty449.com | www.257588.com | www.4759qq.com | www.11044.cc | jk080.com | www.12136f.com | ff1331.com | www.01885b.com | 033e.net | www.sbet345.net | www.896020.com | 365225b.com | www.hg3006.tw | 4255a.com | www.1429h1.com | 5019kzb.com | www.597567d.com | 73055o.com | www.335949.com | www.351871.com |