Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lify
RvApp
Commits
0c9ca6e1
Commit
0c9ca6e1
authored
Aug 24, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
3d55436b
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
41 deletions
+84
-41
build.gradle
RvClient/build.gradle
+5
-0
RvClientApplication.java
RvClient/src/main/java/com/xxfc/rv/RvClientApplication.java
+11
-2
start_back_icon.xml
RvClient/src/main/res/drawable/start_back_icon.xml
+1
-1
styles.xml
RvClient/src/main/res/values/styles.xml
+1
-0
common_icon_circle_delete.png
...src/main/res/drawable-xhdpi/common_icon_circle_delete.png
+0
-0
PostPatActivity.java
...c/main/java/com/xxfc/discovery/other/PostPatActivity.java
+49
-31
activity_post_pat.xml
module_discovery/src/main/res/layout/activity_post_pat.xml
+13
-2
HomeFragment.java
...java/com/rv/home/rv/module/ui/main/home/HomeFragment.java
+3
-4
fragment_home.xml
module_home/src/main/res/layout/fragment_home.xml
+1
-1
No files found.
RvClient/build.gradle
View file @
0c9ca6e1
...
...
@@ -104,6 +104,11 @@ dependencies {
api
'com.jakewharton:butterknife:9.0.0-rc1'
annotationProcessor
'com.jakewharton:butterknife-compiler:9.0.0-rc1'
implementation
'com.android.support.constraint:constraint-layout:1.1.3'
debugCompile
'com.squareup.leakcanary:leakcanary-android:1.6.1'
releaseCompile
'com.squareup.leakcanary:leakcanary-android-no-op:1.6.1'
// api project(path: ':RvTravel')
api
project
(
':component_resource'
)
api
project
(
path:
':module_home'
)
...
...
RvClient/src/main/java/com/xxfc/rv/RvClientApplication.java
View file @
0c9ca6e1
...
...
@@ -22,6 +22,7 @@ import com.frame.rv.config.RvFrameConfig;
import
com.ruiwenliu.wrapper.util.LogUtils
;
import
com.rv.component.utils.LogUtil
;
import
com.sh.sdk.shareinstall.ShareInstall
;
import
com.squareup.leakcanary.LeakCanary
;
import
com.tencent.bugly.crashreport.CrashReport
;
import
com.umeng.commonsdk.UMConfigure
;
import
com.umeng.socialize.PlatformConfig
;
...
...
@@ -48,7 +49,7 @@ public class RvClientApplication extends FrameApp {
@Override
public
void
onCreate
()
{
super
.
onCreate
();
Log
.
e
(
"xxxxxxxxxxxxxxxxxxxxx"
,
"RvClientApplication_onCreate"
);
Log
.
e
(
"xxxxxxxxxxxxxxxxxxxxx"
,
"RvClientApplication_onCreate
11
"
);
StrictMode
.
VmPolicy
.
Builder
builder
=
new
StrictMode
.
VmPolicy
.
Builder
();
StrictMode
.
setVmPolicy
(
builder
.
build
());
builder
.
detectFileUriExposure
();
...
...
@@ -69,7 +70,6 @@ public class RvClientApplication extends FrameApp {
CrashReport
.
initCrashReport
(
getApplicationContext
(),
"82ebaf448b"
,
false
);
//初始化AutoSize
initAuto
();
//OkGoUtil.setToken(token);
OkGoUtil
.
initOkGo
(
this
,
true
);
MyFrameManager
.
getInstance
().
setKeepWake
(
false
);
...
...
@@ -101,6 +101,15 @@ public class RvClientApplication extends FrameApp {
ARouter
.
openDebug
();
}
ARouter
.
init
(
RvClientApplication
.
this
);
/**********************内存检测****************************/
if
(
LeakCanary
.
isInAnalyzerProcess
(
this
))
{
// This process is dedicated to LeakCanary for heap analysis.
// You should not init your app in this process.
return
;
}
LeakCanary
.
install
(
this
);
/**********************************************/
}
...
...
RvClient/src/main/res/drawable/start_back_icon.xml
View file @
0c9ca6e1
...
...
@@ -8,7 +8,7 @@
<item>
<bitmap
android:gravity=
"bottom"
android:scaleType=
"
centerCrop
"
android:scaleType=
"
matrix
"
android:src=
"@drawable/bottom_backgroud2"
android:tileMode=
"disabled"
/>
</item>
...
...
RvClient/src/main/res/values/styles.xml
View file @
0c9ca6e1
...
...
@@ -17,6 +17,7 @@
<item
name=
"windowActionBar"
>
true
</item>
<item
name=
"android:windowContentOverlay"
>
@null
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<!-- 设置全屏 -->
<item
name=
"android:windowFullscreen"
>
true
</item>
</style>
...
...
component_resource/src/main/res/drawable-xhdpi/common_icon_circle_delete.png
0 → 100644
View file @
0c9ca6e1
658 Bytes
module_discovery/src/main/java/com/xxfc/discovery/other/PostPatActivity.java
View file @
0c9ca6e1
This diff is collapsed.
Click to expand it.
module_discovery/src/main/res/layout/activity_post_pat.xml
View file @
0c9ca6e1
...
...
@@ -53,12 +53,15 @@
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/size_15"
android:layout_marginRight=
"@dimen/size_15"
android:paddingTop=
"@dimen/size_20"
android:paddingBottom=
"@dimen/size_20"
>
android:gravity=
"center_vertical"
android:paddingTop=
"@dimen/size_10"
android:paddingBottom=
"@dimen/size_10"
>
<ImageView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingTop=
"@dimen/size_8"
android:paddingBottom=
"@dimen/size_8"
android:src=
"@drawable/campsite_icon_citylocation_hint"
/>
<TextView
...
...
@@ -72,6 +75,14 @@
android:text=
"您所在的位置"
android:textColor=
"@color/colorGray"
android:textSize=
"@dimen/text_12"
/>
<ImageView
android:id=
"@+id/iv_item_delete"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:padding=
"@dimen/size_8"
android:visibility=
"gone"
android:src=
"@drawable/common_icon_circle_delete"
/>
</LinearLayout>
<View
...
...
module_home/src/main/java/com/rv/home/rv/module/ui/main/home/HomeFragment.java
View file @
0c9ca6e1
...
...
@@ -52,7 +52,6 @@ import com.rv.component.utils.DisplayUtil;
import
com.rv.component.utils.LogUtil
;
import
com.rv.component.utils.MyUtils
;
import
com.rv.component.utils.ObservableScrollView
;
import
com.rv.home.R
;
import
com.rv.home.R2
;
import
com.rv.home.rv.module.ApiConfig
;
...
...
@@ -153,7 +152,7 @@ public class HomeFragment extends BaseFragment<HomePresenter> implements Observa
TextView
tvSeeMorePopular
;
@BindView
(
R2
.
id
.
rl_item_layout
)
RelativeLayout
rlItemLayout
;
@BindView
(
R2
.
id
.
scrollview
)
@BindView
(
R2
.
id
.
os_
scrollview
)
ObservableScrollView
scrollview
;
@BindView
(
R2
.
id
.
ll_item_title
)
LinearLayout
llItemTitle
;
...
...
@@ -1081,7 +1080,7 @@ public class HomeFragment extends BaseFragment<HomePresenter> implements Observa
buffer
.
append
(
"("
).
append
(
getCityName
).
append
(
")"
);
}
if
(
buffer
.
length
()
>
0
)
{
if
(
buffer
!=
null
&&
buffer
.
length
()
>
0
)
{
headTvGetShop
.
setText
(
buffer
.
toString
());
}
else
{
headTvGetShop
.
setText
(
""
);
...
...
@@ -1102,7 +1101,7 @@ public class HomeFragment extends BaseFragment<HomePresenter> implements Observa
if
(!
TextUtils
.
isEmpty
(
outCityName
))
{
buffer
.
append
(
"("
).
append
(
outCityName
).
append
(
")"
);
}
if
(
buffer
.
length
()
>
0
)
{
if
(
buffer
!=
null
&&
buffer
.
length
()
>
0
)
{
headTvOutShop
.
setText
(
buffer
.
toString
());
}
else
{
headTvOutShop
.
setText
(
""
);
...
...
module_home/src/main/res/layout/fragment_home.xml
View file @
0c9ca6e1
...
...
@@ -13,7 +13,7 @@
android:layout_height=
"match_parent"
>
<com.rv.component.utils.ObservableScrollView
android:id=
"@+id/scrollview"
android:id=
"@+id/
os_
scrollview"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:scrollbars=
"none"
>
...
...
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