Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8bc16ee5
authored
Feb 06, 2018
by
罗翻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加备件列表,物流信息等页面
parent
d61a1969
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
12 deletions
app/build.gradle
app/src/main/java/com/dayu/bigfish/base/BasePresenter.java
app/src/main/res/layout/activity_return_part.xml
app/src/main/res/layout/progress_dialog.xml
app/build.gradle
View file @
8bc16ee5
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"
}
app/src/main/java/com/dayu/bigfish/base/BasePresenter.java
View file @
8bc16ee5
...
...
@@ -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
)
{
...
...
app/src/main/res/layout/activity_return_part.xml
View file @
8bc16ee5
...
...
@@ -95,7 +95,7 @@
<EditText
android:id=
"@+id/sp_beizhu"
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"match_parent"
android:layout_marginTop=
"20dp"
android:background=
"@null"
...
...
app/src/main/res/layout/progress_dialog.xml
100755 → 100644
View file @
8bc16ee5
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment