更新gradle配置
This commit is contained in:
parent
8c51f52a2c
commit
918cfe62bb
Binary file not shown.
@ -40,7 +40,7 @@ dependencies {
|
||||
//载入界面
|
||||
implementation 'com.kaopiz:kprogresshud:1.1.0'
|
||||
|
||||
compile project(path: ':BaseModel')
|
||||
compile project(path: ':ResModl')
|
||||
compile project(path: ':RefreshRecyclerView')
|
||||
api project(path: ':BaseModel')
|
||||
api project(path: ':ResModl')
|
||||
api project(path: ':RefreshRecyclerView')
|
||||
}
|
||||
|
@ -66,5 +66,5 @@ dependencies {
|
||||
//毛玻璃
|
||||
implementation 'jp.wasabeef:glide-transformations:3.0.0'
|
||||
// compile project(path: ':app')
|
||||
compile project(path: ':ResModl')
|
||||
api project(path: ':ResModl')
|
||||
}
|
||||
|
@ -33,5 +33,5 @@ dependencies {
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
||||
//图表
|
||||
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.3'
|
||||
implementation project(path: ':ResModl')
|
||||
api project(path: ':ResModl')
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ dependencies {
|
||||
implementation 'com.github.limedroid:XRichText:v1.0.0'
|
||||
//富文本
|
||||
implementation 'com.github.limedroid:XRichText:v1.0.0'
|
||||
compile project(path: ':BaseModel')
|
||||
compile project(path: ':ResModl')
|
||||
compile project(path: ':RefreshRecyclerView')
|
||||
api project(path: ':BaseModel')
|
||||
api project(path: ':ResModl')
|
||||
api project(path: ':RefreshRecyclerView')
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.android.support:recyclerview-v7:26+'
|
||||
implementation 'com.android.support:recyclerview-v7:26+'
|
||||
}
|
||||
|
||||
ext {
|
||||
|
@ -1,26 +0,0 @@
|
||||
package com.jobs.usermodel;
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.test.InstrumentationRegistry;
|
||||
import android.support.test.runner.AndroidJUnit4;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ExampleInstrumentedTest {
|
||||
@Test
|
||||
public void useAppContext() {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getTargetContext();
|
||||
|
||||
assertEquals("com.jobs.usermodel.test", appContext.getPackageName());
|
||||
}
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package Interfaces;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
|
||||
/**
|
||||
* Created by 58381 on 2018/2/27.
|
||||
*/
|
||||
|
||||
public interface BaseActivityInterface {
|
||||
void onCreate(Bundle savedInstanceState, LinearLayout layout, Context context, Intent intent);
|
||||
void onRestart();
|
||||
void onResume();
|
||||
void onPause();
|
||||
void onDestroy();
|
||||
void getIntent(Intent intent);
|
||||
boolean onKeyDown(int keyCode, KeyEvent event);
|
||||
boolean onKeyUp(int keyCode, KeyEvent event);
|
||||
boolean onTouchEvent(MotionEvent event);
|
||||
Data getData();
|
||||
class Data{
|
||||
private String type;
|
||||
private String url;
|
||||
|
||||
}
|
||||
}
|
15
UserModel/src/main/java/Interfaces/BaseFragmeneInerface.java
Normal file
15
UserModel/src/main/java/Interfaces/BaseFragmeneInerface.java
Normal file
@ -0,0 +1,15 @@
|
||||
package Interfaces;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public interface BaseFragmeneInerface {
|
||||
void init(Context context);
|
||||
View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState);
|
||||
void setIntent();
|
||||
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package com.jobs.usermodel;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Example local unit test, which will execute on the development machine (host).
|
||||
*
|
||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
||||
*/
|
||||
public class ExampleUnitTest {
|
||||
@Test
|
||||
public void addition_isCorrect() {
|
||||
assertEquals(4, 2 + 2);
|
||||
}
|
||||
}
|
@ -63,10 +63,10 @@ dependencies {
|
||||
//毛玻璃
|
||||
implementation 'jp.wasabeef:glide-transformations:3.0.0'
|
||||
//
|
||||
compile project(path: ':BaseModel')
|
||||
implementation project(path: ':GameDataModel')
|
||||
implementation project(path: ':AppHome')
|
||||
implementation project(path: ':MgListModel')
|
||||
implementation project(path: ':ResModl')
|
||||
api project(path: ':BaseModel')
|
||||
api project(path: ':GameDataModel')
|
||||
api project(path: ':AppHome')
|
||||
api project(path: ':MgListModel')
|
||||
api project(path: ':ResModl')
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user