Commit 8bc16ee5 by 罗翻

增加备件列表,物流信息等页面

parent d61a1969
apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
......@@ -74,9 +71,7 @@ android {
preDexLibraries = false
}
}
kapt {
generateStubs = true
}
greendao {
schemaVersion 2
daoPackage 'com.dayu.bigfish.greendao'
......@@ -117,9 +112,7 @@ dependencies {
compile 'com.github.lzyzsd:jsbridge:1.0.4'
kapt project(':apt')
annotationProcessor project(':apt')
compile project(':annotation_lib')
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
kapt "com.android.databinding:compiler:$gradle_version"
}
......@@ -37,7 +37,7 @@ public abstract class BasePresenter<V> {
* @return
*/
public <M> Observer baseObserver(final Consumer<? super M> consumer) {
public <M> Observer<M> baseObserver(final Consumer<? super M> consumer) {
return new Observer<M>() {
@Override
public void onSubscribe(Disposable d) {
......@@ -74,7 +74,7 @@ public abstract class BasePresenter<V> {
* @return
*/
public <M> Observer baseObserver(final Consumer<? super M> consumer, final Consumer<APIException.ResponeThrowable> tconsumer) {
public <M> Observer<M> baseObserver(final Consumer<? super M> consumer, final Consumer<APIException.ResponeThrowable> tconsumer) {
return new Observer<M>() {
@Override
public void onSubscribe(Disposable d) {
......
......@@ -95,7 +95,7 @@
<EditText
android:id="@+id/sp_beizhu"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="20dp"
android:background="@null"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment