<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 9539e.com | www.342177.com | www.456990.com | qy002.vip | www.52303l.com | www.21365bb.com | x7666.com | www.56011i.com | 356.com | 18775u.com | www.4996qj.com | xhtd.com | bg666777.com | www.pj88.com | www.777444j.com | ule609.com | www.bet73x.com | www.2846a.com | 77775309.com | www.fyyy1.com | www.661666.com | 4590a.com | www.959551.com | www.792777.com | jjj40033.com | www.58gc8.com | www.b35uu.com | 3416f.com | 6363uu.com | www.698505.com | www.js16123.com | 500000597.com | www.6653i.com | www.js4333.com | yhw0.cc | www.bai84.com | www.dafuhao025.cc | t82365.com | www.812780.com | www.a22.com | 2934r.com | 2021cccc.com | www.7777bj.com | www.55676b.com | m67890.com | www.9511888.com | www.js9969.com | 83138k.com | www.862810.com | www.98888js.com | 2400007.com | 6137g.net | www.8499s.com | www.0748.cc | 85698u.com | 2418006.com | www.302551.com | www.449941.com | 32666f.com | www.355284.com | www.a83377.com | www.r32126.cc | qqcp.com | www.108013.com | www.9187v.com | www.1238760.com | 40033uuu.com | 6137c.com | www.71399x.com | www.ab738.com | 3078b.com | c2554.com | www.9356l.com | www.177158.com | 4812555.com | 162788.com | www.902771.com | www.7225c.com | www.3657f.com | 463s8.com | www.053069.com | www.16065z.com | www.0709.com | www.7720f.com | 566777t.com | www.183587.com | www.pujing75.com | www.779626.com | www.23427f.com | 6082.com | 3844z.com | www.hy5155.com | www.115527g.com | www.msc55.com | 33318d.com | xpj677z.com | www.ya044.com | www.466909.com | www.i2824.com | 7945cc.com | 00669193.com | 66300vip18.com | www.8499a.com | www.4996lj.com | www.82980.com | 44oo8332.com | 2737.com | 35dd.vip | www.444079.com | www.9286.com | www.38138s.com | www.355006.com | 253504.com | eee444000.com | www.50026i.com | www.50052vip.com | www.805sun.com | www.348458.com | ww666hg.com | c1915.com | 3333740.com | www.609812.com | www.998855aa.com | www.42070014.com | www.jinbocp.com | www.333133s.com | 228888p.com | 1227019.com | 1123222.com | www.808466.com | www.624204.com | www.8313b.com | www.tyc855.com | www.3435x.com | wz11939.com | mg437744.com | 364493.com | www.083016.com | www.77yfa.com | www.37377v.com | www.xpj588.com | www.03543.com | www.631155.com | feicai0794.com | 8037ss.com | 28824c.com | 61325533.com | www.106507.com | www.zcwf0.com | www.r7766.com | www.ao3399.com | www.1389oo.com | www.9702xx.com | www.55123.com | c89ew41.com | 3640ee.com | ff3189.com | 2776b.com | www.50052i.com | www.799243.com | www.34788x.com | www.2418q.com | www.j2894.com | www.36008.com | www.332010.com | www.21050022.com | www.3459m.com | 4495.com | www.68666j.com | 30006w.com | 01885r.com | 4036d.com | 53262jj.com | ambyc8.com | 7346611.com | 2418c.com | 39990033.com | 53166i.com | www.66376u.com | www.377034.com | www.902776.com | www.yi636.com | www.2875m.com | www.52303k.com | www.00665e.com | www.917979.com | www.7240s.com | www.4102j.com | www.b12189.com | www.1851131.com | www.6776yy.com | www.808888o.com | www.365279c.com | www.161514.com | www.hg8483.com | www.hg8445.com | www.430msc.com | www.xpj2108.com | www.3775799.com | www.pj33305.com | www.xpj99897.com | www.366686.com | www.hg2182.com | www.5487.com | www.35252v.com | www.xfc88.com | www.1168d.com | www.77360.com | www.50999a.com | www.849689.com | le888r.com | www.1432.com | www.31047.com | www.00840g.com | www.5441f.com | www.9928aa.com | www.44qxc.com | www.hf0668.com | www.912183.com | www.605670.com | www.332930.com | www.81520a.com | 524350.com | 6150d.com | 459.com | xiaowei789.com | 5360w.com | 38244e.com | 8988r.com | 131ff.net | www.yh8004.com | www.hg77716.com | www.pj12567.com | www.9f33.com | www.jz3888.com | www.6687x.com | www.x77789.com | www.68689p.com | www.38y.com | www.630958.com | www.50051i.com | 500000565.com | 97297g.com | v0142.com | js777dl.com | 2998z.com | www.yh8489.com | www.9009798.com | www.55070z.com | www.74j.com | www.78949w.com | www.c189.vip | 52599m.com | 33888016.com | y0000.com | 88807z.com | www.3643c.com | www.599199.com | www.16181v.com | www.89789v.com | www.6539y.com | www.423770.com | 56033.net | 2649aa.com | 2jsuuu.com | www.653508.com | www.tqdc222.com | www.9737zz.com | www.882918.com | www.103ak.com | www.035079.com | 33kk8332.com | 7720x.net | www.a78bet.com | www.883122dd.com | www.amyhdc0000.com | www.9478q.com | www.236380.com | 998e.cc | 4136z.com | www.68666j.com | www.026789.com | www.1429g1.com | www.95777w.com | www.yh8219.com | www.7045d.com | 80892yy.com | www.3569b.com | www.80188x.com | www.53911d.com | www.160881.com | 4107f.com | 55331ll.com | www.www6161msc.com | www.cs66.com | www.9818k.cc | 4195u.com | 38853885.com | www.080948.com | www.30k0048.com | www.33112q.com | js345a.com | 8037ss.com | www.535xpj.com | www.fh70.com | www.76520w.com | www.50080o.com | p9601.com | www.9844js.com | www.77731u.com | www.8d878.com | www.225065.com | 9479.com | www.32126u.net | www.ee55826.com | www.7793n.com | 518cp-3.com | 2078c.com | www.133vns.com | www.30350f.com | www.976500.com | blhvip666.com | 1077xxx.com | www.soxi588.com | www.550021p.com | 1665ll.com | 55323y.com | www.pj1098.com | www.56011r.com | www.364343.com | 88119y.com | www.v3303.com | www.4521e.com | www.672366.com | 33382w.com | www.737.am | www.5981e.com | www.880686.com | 6396u.com | www.yh1088.com | www.77775309.com | www.669307.com | 8685151.com | www.608333.com | www.1183066.com | www.330691.com | 8037c.com | www.w1525.com | www.9989575.com | 838eee.com | 2546r.com | www.938v.cc | www.fyyy2.com | 288-6.com | www.9068oo.com | www.4809a.com | 50099r.com | 2805s.com | www.544416.com | www.gocp3.com | 15q15.net | www.88837e.com | www.9989569.com | 876878i.com | cc99151.com | www.969306.com | www.375699.com | h82365.com | www.pj928.com | www.983888a.com | 8030m.com | www.4912f.com | www.4996xz.com | www.949429.com | 71372225.com | www.05789.com | www.5086e.com | 8898222.com | www.cjycp55.com | www.07163c.com | 33382jj.com | www.2767vv.com | www.32123s.com | 7771008.com | www.110978.com | www.35918x.com | 66300vip41.com | www.s99927.com | www.61233g.com | 496.bi | www.kl88ag.com | www.04gcw.com | mg4156.vip | www.84345.com | www.675120.com | qifa168.net | www.340dh.com | www.62118e.com | 7196bb.com | www.k63568.com | 61789c.com | www.hgw2016.com | www.3933n.cc | 33nn8332.com | www.366708.com | 6150b.com | www.vns9984.com | www.66376n.com | hga55025.com | www.77731v.com | www.106167.com | 7893w40.com | www.xb99aa.com | tz478.com | www.44466666.com | www.085533.com | www.a2a999.cc | www.169097.com | qy002.vip | www.20199ii.com | www.098286.com | www.vns20033.com | www.29277f.com | 67890xx.com | www.28000d.com | 433.com | www.67797c.com | www.8499p.com | 26119.com | www.d4.com | 9949b.com | www.82899.com | www.253529.com | www.pj2666.com | www.50054b.com | 3640tt.com | www.30350s.com | 2292958.com | www.0010013.com | 4880t.com | www.76543u.com | www.987580.com | feicai0534.com | www.5647ii.com | 4255a.com | www.v38.me | 1294j.com | www.esb125.com | 7YL7999.com | www.yd3555.com | www.517602.com | www.7435p.com | www.99fzc.com | mm2205.com | www.84499j.com | 71707u.com | www.hg82678.com | 3678h.com | www.4521h.com | 45939904.com | www.mgm555555.com | pp3100.com | www.hbao5.com | 00773y.com | www.pj1985.com | 97297n.com | www.www727939.com | bet28u.com | www.57768u.com | 68680029.com | www.26yh.com | 2546u.com | www.hg8376.com | 500000953.com | www.07811.com | 1483r.com | www.46621.com | 38648oo.cc | www.5360fj.com | 41163333.com | www.0066xpj.net | 871ww.com | www.982935.com | 51133t.com | www.99094a.com | 11ss8332.com | www.81233l.com | feicai0574.com | www.2408b.com | www.yun900.com | www.827737.com | www.76543x.com | www.290282.com | www.hg7803.com | 5647q.com | www.8967t.com | yhsichun.vip | www.0612g.com | 2146q.com | www.68689l.com | 32212x.com | www.738070.com | www.77164.com | 234917.com | www.r948r.com | w1429.com | www.7799nsb.com | 5564.com | www.77fzc.com | www.mgm007.com | zzylc8.com | www.bidifushi.com | 8547qq.com | www.3775z.com | 00940.com | www.cp689.vip | www.995v.net | s2894.com | www.865606.com | www.3311sb.com | j2894.com | www.5446qq.com | 9068l.com | www.36166y.com | www.28758d.com | www.29178e.com | www.799666v.com | 0022ylc.com | www.83993q.com | www.1118xj.com | 87965ee.com | www.cp9538.com | 8344999.com | www.50732x.com | www.vns9981.com | js345345.com | www.16181s.com | 88894u.com | www.hw6689.com | www.xpj97.com | 22214066.com | www.971406.com | 77003885.com | www.068630.com | www.162580.com | 992222e.com | www.hx8866.com | www.82533t.com | 82997.co | www.20wb.top | www.7893w9.com | 2381006.com | www.9187n.com | 1144760.com | 38648xl.com | www.b35cc.com | 477105.net | www.332760.com | www.1168q.com | 3015.cc | www.689244.com | www.3122v.com | 4036r.com | www.122888a.com | www.dzvip9.com | 9506.com | www.760320.com | www.3033c.com | 3559mmmm.com | www.596531.com | www.q948q.com | 505503.com | www.351817.com | www.5220666.com | feicai0913.com | www.035079.com | www.377666m.com | 66876q.com | 2776x.com | www.0343m.com | www.617707.com | aa7742.com | www.81520m.com | www.2223xj.com | 7720g.com | www.c5836.com | www.hf3138.com | yz222999.com | 97297h.com | www.2848.tt | www.xpj8818.com | 1434c.com | www.29178h.com | www.73kh.com | 91019e.com | qiangui003.com | www.1764g.com | www.benz4343.com | 49800.com | www.901025.com | www.38345k.com | 37570j.com | 1770o.com | www.02022.com | www.42423499.com | 30177788.com | judingbo0.com | www.b387387.com | www.91221.com | 00774zz.com | 69449955.com | www.61233hh.com | www.777753.com | bwin8h.com | 4270cc.com | www.80767r.com | www.501333.com | 62222g.com | 776072.com | www.9928d.com | www.79500.net | 6423w.com | q6q66.com | www.986799.com | www.08bet8.com | www.80852.com | 8827ttt.com | www.544097.com | www.837993.com | www.4318q.com | 9958911.com | 99306y.com | www.33588r.com | www.36008.com | www.xpj7777.cc | 99909i.com | www.226105.com | www.33mgm777.com | www.99291a.com | 3121mm.com | 1775ww.com | www.589196.com | www.7920d.com | www.yz889.com | 2490e.com | 684237.com | www.647977.com | www.js56772.com | www.bm9998.com | 11989u.com | 40033qq.com | www.501210.com | www.0343n.com | www.www-58944.com | 1665cc.com | yzyz02.com | 1305800.com | www.50054p.com | www.55545f.com | www.10899c.com | s5429.com | 3616l.com | www.679610.com | www.81608f.com | www.3122t.com | www.799007.com | 32666p.com | 5004qq.com | www.936370.com | www.55676m.com | www.511289.com | www.38200f.com | u4389.com | 3136ww.com | www.800986.com | www.81608t.com | www.063260.com | www.67797l.com | tz6.com | cc63777.com | q759.top | www.c2798.com | www.tai3366.com | www.566652.com | www.333133c.com | jsh7777.com | hg0266.com | xpj90618.com | www.560259.com | www.62118d.com | www.115527l.com | www.hg743.com | www.hg7088.sh | feicai0592.com | rrr5701.com | 91019v.com | www.329209.com | www.5441h.com | www.7240r.com | www.19019u.com | www.hg5100.com | www.86611j.com | 80368b.com | 08820033com | 83377c.com | www.097067.com | www.4ttz.com | www.yh7772.com | www.3066ii.com | www.068340.com | www.xpj5t5.com | 90856m.com | y1848.com | 9646t.com | hc9096.com | 3656lkk.com | www.664043.com | www.08500w.com | www.sd58qp.com | www.js8888888830.com | www.hd779.com | www.33js11.com | www.717xpj.com | xpj2229hh.com | 3522w.vip | wz4008.com | 4694q.com | 666vn77.com | www.178153.com | www.748767.com | www.2934c.com | www.430188.com | www.12136c.com | www.hs6666.com | www.35252t.com | www.001547.com | www.05125d.com | www.28758a.com | 9411rrr.com | gg3189.com | 00048f.com | 38345l.com | 0805b.com | u8381.com | 3467d.com | 5906oo.com | ca1055.com | pt777.com | www.51515t.com | www.375963.com | www.876899.com | www.973776.com | www.den60.com | www.3668n.com | www.71399s.com | www.bet73q.com | www.646869.com | www.1434i.com | www.js89x.vip | www.xpj9.net | www.3032ll.com | www.369407.com | www.377666v.com | www.7893w34.com | www.606668.com | www.00773t.com | www.7334g.com | www.5446kk.com | www.3157u.com | www.55545l.com | www.4972m.com | www.365033.bet | www.bd2019j.com | www.50999e.com | www.6776ee.com | www.89599n.com | www.673888x.com | www.57800y.com | www.v69096.com | www.4196z.com | www.9908598.com | www.377666t.com | www.6687o.com | www.js89r.vip | www.rrqp777.com | www.80032266.com | www.660689.com | www.ya2019c.com | www.61233z.com | www.08588p.com | www.39cp.cc | www.925887.com | www.701487.com | www.355274.com | www.52072u.com | 301111.com | 97799.com | 1775r.com | 0419qq.com | 36406600.com | 103boo.com | 8036oo.com | a05677.com | www.xh9111.com | www.88807w.com | www.274166.com | www.la6666.com | www.a22.com | www.535.cc | www.x22678.com | www.66332n.com | www.qmkl1.com | www.648148.com | www.76520v.com | 5004fff.com | 6146x.com | r08199.com | 505503.com | jixiang14.com | www.995y.net | www.8422a.com | www.4972n.com | www.pjc99.vip | www.hg99976.com | www.0014a.com | www.550431.com | 13134688.com | 20550580.com | 3131e.cc | 9737003.com | www.s1128.com | www.5288js.com | www.mc298.com | www.3066rr.com | www.004829.com | www.022tw.cc | www.381772.com | 1483.com | 0099066.com | 36536502.win | www.323788.com | www.21819q.com | www.4212w.com | www.75600w.com | www.26299k.com | www.527990.com | 7874.gg | 0471sands.com | 2709v.com | www.4107z.com | www.168tyc.com | www.83066.com | www.29277c.com | www.401269.com | 9912304.com | 23300d.com | 111122ww.com | www.3844b.com | www.9737jj.com | www.1429.net | www.689632.com | 7874.gg | 566777h.com | 937012.com | www.3170001.com | www.06617a.com | www.07163a.com | www.534658.com | j15.com | 7202004.com | www.76060t.com | www.0010013.com | www.556350.com | www.cf9908.com | z6528.com | 4255xxx.com | www.f118cp.com | www.www-48789.com | www.168a56.com | www.hf5881.com | z47479.com | 3890g.com | www.040xpj.com | www.63328.cc | www.614377.com | www.769301.com | bfvip88.com | jing7771.com | www.4972ii.com | www.99113l.com | www.97655s.com | www.221836.com | 2267w.com | 893920.com | www.100449.com | www.0343w.com | www.731996.com | 6112kk.com | 1077ddd.com | www.hg6058.com | www.78680g.com | www.680358.com | 1654dd.com | 99111cc.com | www.233113.com | www.js7601.com | www.196903.com | 58222ii.com | www.vnsr800.com | www.4972p.com | www.9356o.com | wap.pj5556.com | 3522uu.com | www.4318q.com | www.758567a.com | www.739915.com | 47749h.com | 6922012.com | www.tc8805.com | www.52303l.com | 6830f.com | baliren185.com | www.zl49.com | www.9989575.com | www.096308.com | 3559bbb.com | www.58777r.com | www.12136c.com | www.356686.com | 4590t.com | www.xpj5t5.com | www.4102g.com | www.338032.com | c53.net | www.98717s.com | www.3421d.com | www.309939.com | 86226s.com | www.133414.com | www.6678695.com | www.35155a.com | 40033b.com | www.amdc0007.com | www.4323m.com | ylzz6.cc | 3136gg.com | www.7415ee.com | www.909935.com | 77605o.com | www.3643d.com | www.676711.com | www.040431.com | 8988k.com | www.hg039.com | www.1035j.com | 3559aaa.com | www.365635.com | www.883399i.com | www.151706.com | 6944411.com | www.555305.com | www.66czj.com | 97987-7.com | www.w30226.com | www.826019.com | ee3189.com | 923830.com | www.7225k.com | www.210955.com | 18449455.com | www.138cpn.com | www.911059.com | 3522w.cc | www.23470.com | www.2934r.com | amjs119.com | www.9999304.com | www.65707f.com | 80032277.com | www.9996oo.com | www.139975.com | bet3659091.com | www.9464770.com | www.630950.com | 3225o.com | 60266.com | www.8905m.com | 4221999.com | www.68666j.com | www.52062f.com | pj7778.com | www.7435h.com | www.1466b.com | 52688g.com | www.benz4433s.com | www.008.vip | 19880.com | www.sun7707.com | www.68682j.com | 3404p.cc | www.24671.net | www.3126y.com | f666.org | www.pj6668.com | www.892070.com | bet36-5.com | www.00618h.com | www.87668i.com | aa9988.net | www.flb377.com | 5804e.com | www.9679b.com | www.9928l.com | 8037dd.com | www.zte222.com | www.355243.com | 2506e.com | www.1779.com? | 1479l.com | www.09569v.com | www.9155g.com | pp4119.com | www.0057a.com | www.66653i.com | www.pu7777.net | www.46689.com | 243a2.com | www.088tyc.com | www.332750.com | 6363d.com | www.2418g.com | ddd4255.com | www.112111.com | www.552703.com | 923970.com | www.w98478.com | ahhsxj.com | www.bet421.com | www.330832.com | 6641gg.com | www.169082.com | ww222hg.com | www.430578.com | dl71017.com | www.333133k.com | www.en06.com | yfzxz.com | www.742688.com | 3424u.com | www.3131666.com | www.89894v.com | www.70060000.com | www.8816f.com | 11005s.com | www.xpj916.com | 2757ucom | www.hf9018.com | 983888i.com | www.453022.com | www.738126.com | 689030.com | www.50054p.com | 08159c.com | www.12136s.com | 3685h.com | www.644886.com | 97297n.com | www.8896kk.com | www.160592.com | www.00755.com | www.959553.com | 7141cc.com | www.50064s.com | 62222p.com | www.5856878.com | 0802.cc | www.30350i.com | 131nnn.net | www.8473r.com | 65005i.com |