Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_freeworld
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
0
Merge Requests
0
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
android
android_freeworld
Commits
24affd8c
Commit
24affd8c
authored
Aug 05, 2021
by
fengruiyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_1.0.0' of
http://39.97.65.143:81/android/android_street
into fry_dev
parents
7c924bd6
32cc14ed
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
6 deletions
+8
-6
build.gradle
app/build.gradle
+1
-1
HomeFragment.kt
app/src/main/java/com/mints/street/main/home/HomeFragment.kt
+1
-0
activity_detailed.xml
app/src/main/res/layout/activity_detailed.xml
+1
-0
layout_upgradevip.xml
app/src/main/res/layout/layout_upgradevip.xml
+1
-1
library.build.gradle
library.build.gradle
+3
-2
Constants.java
...ary_base/src/main/java/com/fry/base/global/Constants.java
+1
-2
No files found.
app/build.gradle
View file @
24affd8c
...
@@ -67,7 +67,7 @@ android {
...
@@ -67,7 +67,7 @@ android {
// 不显示Log
// 不显示Log
buildConfigField
"boolean"
,
"LOG_DEBUG"
,
"true"
buildConfigField
"boolean"
,
"LOG_DEBUG"
,
"true"
buildConfigField
"String"
,
"AppKeyPre"
,
"\"abcd\""
buildConfigField
"String"
,
"AppKeyPre"
,
"\"abcd\""
buildConfigField
"String"
,
"MainIp"
,
DEBUG
_URL
buildConfigField
"String"
,
"MainIp"
,
RELEASE
_URL
//混淆
//混淆
minifyEnabled
false
minifyEnabled
false
...
...
app/src/main/java/com/mints/street/main/home/HomeFragment.kt
View file @
24affd8c
...
@@ -312,6 +312,7 @@ class HomeFragment(val mainActivity: MainActivity) : BaseFragment<FragmentHomeBi
...
@@ -312,6 +312,7 @@ class HomeFragment(val mainActivity: MainActivity) : BaseFragment<FragmentHomeBi
mSensorManager
?.
unregisterListener
(
this
)
mSensorManager
?.
unregisterListener
(
this
)
// 退出时销毁定位
// 退出时销毁定位
mLocClient
?.
stop
()
mLocClient
?.
stop
()
mSearch
?.
destroy
()
// 关闭定位图层
// 关闭定位图层
mBaiduMap
?.
isMyLocationEnabled
=
false
mBaiduMap
?.
isMyLocationEnabled
=
false
binding
.
bmapView
.
onDestroy
()
binding
.
bmapView
.
onDestroy
()
...
...
app/src/main/res/layout/activity_detailed.xml
View file @
24affd8c
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:paddingLeft=
"15dp"
android:paddingLeft=
"15dp"
android:paddingTop=
"5dp"
android:paddingTop=
"5dp"
android:paddingRight=
"15dp"
android:textSize=
"12sp"
android:textSize=
"12sp"
android:text=
"巴黎嫩作为文化十字路口的历史可以追溯到数千年前。探索其古老的以及和自然奇观。"
/>
android:text=
"巴黎嫩作为文化十字路口的历史可以追溯到数千年前。探索其古老的以及和自然奇观。"
/>
...
...
app/src/main/res/layout/layout_upgradevip.xml
View file @
24affd8c
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:layout_marginTop=
"30dp"
android:layout_marginTop=
"30dp"
android:text=
"想要继续无限
方法
又不模糊?"
android:text=
"想要继续无限
缩放
又不模糊?"
android:textColor=
"@color/black"
android:textColor=
"@color/black"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
...
library.build.gradle
View file @
24affd8c
...
@@ -52,13 +52,14 @@ android {
...
@@ -52,13 +52,14 @@ android {
buildTypes
{
buildTypes
{
release
{
release
{
buildConfigField
(
"boolean"
,
"IS_DEV"
,
"false"
)
buildConfigField
(
"boolean"
,
"IS_DEV"
,
"false"
)
buildConfigField
(
"String"
,
"
DEBUG_URL"
,
DEBUG
_URL
)
buildConfigField
(
"String"
,
"
MAINIP"
,
RELEASE
_URL
)
minifyEnabled
false
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
}
}
debug
{
debug
{
buildConfigField
(
"boolean"
,
"IS_DEV"
,
"true"
)
buildConfigField
(
"boolean"
,
"IS_DEV"
,
"true"
)
buildConfigField
(
"String"
,
"DEBUG_URL"
,
DEBUG_URL
)
buildConfigField
(
"String"
,
"MAINIP"
,
DEBUG_URL
)
// buildConfigField ("String","MAINIP",RELEASE_URL)
}
}
}
}
// productFlavors {
// productFlavors {
...
...
library_base/src/main/java/com/fry/base/global/Constants.java
View file @
24affd8c
...
@@ -41,7 +41,6 @@ public class Constants {
...
@@ -41,7 +41,6 @@ public class Constants {
}
}
public
static
String
getBaseUrl
()
{
public
static
String
getBaseUrl
()
{
return
BuildConfig
.
MAINIP
;
return
BuildConfig
.
DEBUG_URL
;
}
}
}
}
\ No newline at end of file
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