使用Kotlin實現MVP框架

引言:本文主要介紹怎樣經過Kotlin語音實現MVP框架,再也不對Kotlin語法和MVP進行講述. 廢話很少說,直接上代碼: Base基礎包 #先定義抽象的三個接口,在接口中能夠抽出公有的幾個方法,根據自我需求隨意發揮 interface IView { fun providerContext(): Context } interface IPresenter { fun a
相關文章
相關標籤/搜索