mirror of
https://github.com/WuXiaolong/AndroidMVPSample.git
synced 2025-09-29 06:53:23 +08:00
add
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion 23
|
||||
compileSdkVersion 24
|
||||
buildToolsVersion "23.0.2"
|
||||
|
||||
defaultConfig {
|
||||
@@ -21,8 +21,8 @@ android {
|
||||
|
||||
dependencies {
|
||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||
compile 'com.android.support:appcompat-v7:23.4.0'
|
||||
compile 'com.wuxiaolong.androidutils:androidutils:1.0.2'
|
||||
compile 'com.android.support:appcompat-v7:24.2.0'
|
||||
compile 'com.wuxiaolong.androidutils:androidutils:1.0.5'
|
||||
compile 'com.jakewharton:butterknife:7.0.1'
|
||||
compile 'com.squareup.retrofit2:retrofit:2.0.2'
|
||||
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
|
||||
|
@@ -18,6 +18,14 @@ import butterknife.ButterKnife;
|
||||
import rx.Subscription;
|
||||
import rx.subscriptions.CompositeSubscription;
|
||||
|
||||
/**
|
||||
* Created by WuXiaolong
|
||||
* on 2015/9/23.
|
||||
* github:https://github.com/WuXiaolong/
|
||||
* weibo:http://weibo.com/u/2175011601
|
||||
* 微信公众号:吴小龙同学
|
||||
* 个人博客:http://wuxiaolong.me/
|
||||
*/
|
||||
public class BaseActivity extends AppCompatActivity {
|
||||
public Activity mActivity;
|
||||
|
||||
|
@@ -15,8 +15,13 @@ import butterknife.Bind;
|
||||
import butterknife.ButterKnife;
|
||||
|
||||
/**
|
||||
* Created by WuXiaolong on 2015/9/23.
|
||||
* 由Activity/Fragment实现View里方法,包含一个Presenter的引用
|
||||
* Created by WuXiaolong
|
||||
* on 2015/9/23.
|
||||
* github:https://github.com/WuXiaolong/
|
||||
* weibo:http://weibo.com/u/2175011601
|
||||
* 微信公众号:吴小龙同学
|
||||
* 个人博客:http://wuxiaolong.me/
|
||||
*/
|
||||
public class MainActivity extends MvpActivity<MainPresenter> implements MainView {
|
||||
|
||||
|
Reference in New Issue
Block a user