Android 架構 -- MVP

什麼是MVP 從Google-samples中看到,有很大篇幅是關於MVP,那麼到底什麼是MVP開發模式呢? Model: 數據層 View: 視圖層 Presenter: 控制層(與Controller有什麼區別?) MVP工作原理 MVP實現UML MVP優點 結構分明 維護較方便 View與Model解耦 MVP缺點 需要生成太多類 接口粒度不好控制
相關文章
相關標籤/搜索