cn-ljb / mvp-kotlin Goto Github PK
View Code? Open in Web Editor NEWandroid mvp and auto code
android mvp and auto code
建议在BaseMvpPresenter中的onDestroy中赋值mMVPView = null,防止由于Activity已经不存在但是BaseMvpPresenter中持有Activity引发的内存泄露问题
Because the project was written in Kotlin, it would be good to have the tests in Kotlin too.
在app build.gradle中同时引用了
//net lib
implementation 'com.github.cn-ljb:netlib:1.0.0'
//dao lib
implementation 'com.github.cn-ljb:daolib:1.0.0'
此时出现Unresolved reference:retrofit2
删除dao lib引用后sync project,就可以找到retrofit,请问这是哪里冲突了吗?谢谢
result error的情况下,也能走成功的方法
有些操作需要在BaseMvpActivity中编写
1、Presenter getContext()优化,方便java代码调用
2、提供更简易扩展公共IView接口
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.