mirror of
https://github.com/WuXiaolong/AndroidMVPSample.git
synced 2025-06-07 22:04:04 +08:00
add
This commit is contained in:
parent
5b78ebcfb1
commit
00bf1c8953
@ -1,7 +1,7 @@
|
|||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 24
|
||||||
buildToolsVersion "23.0.2"
|
buildToolsVersion "23.0.2"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
@ -21,8 +21,8 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||||
compile 'com.android.support:appcompat-v7:23.4.0'
|
compile 'com.android.support:appcompat-v7:24.2.0'
|
||||||
compile 'com.wuxiaolong.androidutils:androidutils:1.0.2'
|
compile 'com.wuxiaolong.androidutils:androidutils:1.0.5'
|
||||||
compile 'com.jakewharton:butterknife:7.0.1'
|
compile 'com.jakewharton:butterknife:7.0.1'
|
||||||
compile 'com.squareup.retrofit2:retrofit:2.0.2'
|
compile 'com.squareup.retrofit2:retrofit:2.0.2'
|
||||||
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
|
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
|
||||||
|
@ -18,6 +18,14 @@ import butterknife.ButterKnife;
|
|||||||
import rx.Subscription;
|
import rx.Subscription;
|
||||||
import rx.subscriptions.CompositeSubscription;
|
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 class BaseActivity extends AppCompatActivity {
|
||||||
public Activity mActivity;
|
public Activity mActivity;
|
||||||
|
|
||||||
|
@ -15,8 +15,13 @@ import butterknife.Bind;
|
|||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by WuXiaolong on 2015/9/23.
|
|
||||||
* 由Activity/Fragment实现View里方法,包含一个Presenter的引用
|
* 由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 {
|
public class MainActivity extends MvpActivity<MainPresenter> implements MainView {
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.1.2'
|
classpath 'com.android.tools.build:gradle:2.1.3'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
#Sat Jun 11 21:48:50 CST 2016
|
#Fri Sep 09 22:48:22 CST 2016
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user