<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [原文地址](http://androidwing.net/index.php/27) [GitHub地址](https://github.com/githubwing/MVPHelper) 詳細更新操作可以參考上面的GitHub地址 作者對MVP的理解可以參考:[Android開發之初識MVP模式](http://blog.csdn.net/wingichoy/article/details/50893367) ### MVPHelper 一款Intellj IDEA 和Android Studio的插件,可以為MVP生成接口以及實現類,解放雙手。 Github 地址 https://github.com/githubwing/MVPHelper ![image](https://github.com/githubwing/MVPHelper/raw/master/img/mvp_presenter.gif) #### **注意** 對于MVP模式,定義一個Contract類來放置Model View Presenter 的接口,將大大減少類文件。將普通的接口替代如下: ~~~ public interface GoodsInfoContract { public interface View{ } public interface Presenter{ } public interface Model{ } } ~~~ 當你在Contract類中使用插件,效果如下: ![](https://github.com/githubwing/MVPHelper/raw/master/img/mvp_contract.gif) #### **如何使用** 安裝完插件后 在Contract類或者Presenter類內部,點擊Generate菜單,選擇MVPHelper即可生成對應文件 ![](https://github.com/githubwing/MVPHelper/raw/master/img/step1.png) ![](https://github.com/githubwing/MVPHelper/raw/master/img/step2.png) ### 參考文章: [Android 使用MVPHelper工具生成,MVPDemo模擬登錄演示](http://blog.csdn.net/qq_35070105/article/details/69663298)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看