Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
2a690b30
Commit
2a690b30
authored
Feb 22, 2020
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充arouter path
parent
ddaa76f0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
6 deletions
+29
-6
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+2
-1
TrendsHomeFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
+3
-2
YdlHomeFragment.kt
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+2
-1
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+1
-1
NewMultiMessageFragment.kt
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
+5
-1
JumpTextView.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/view/JumpTextView.kt
+16
-0
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
2a690b30
...
@@ -18,6 +18,7 @@ import android.view.inputmethod.InputMethodManager
...
@@ -18,6 +18,7 @@ import android.view.inputmethod.InputMethodManager
import
android.widget.ImageView
import
android.widget.ImageView
import
android.widget.LinearLayout
import
android.widget.LinearLayout
import
android.widget.TextView
import
android.widget.TextView
import
com.alibaba.android.arouter.facade.annotation.Route
import
com.alibaba.android.arouter.launcher.ARouter
import
com.alibaba.android.arouter.launcher.ARouter
import
com.ydl.webview.H5Params
import
com.ydl.webview.H5Params
import
com.ydl.webview.NewH5Activity
import
com.ydl.webview.NewH5Activity
...
@@ -56,7 +57,7 @@ import kotlinx.android.synthetic.main.consultant_layout_search_content.*
...
@@ -56,7 +57,7 @@ import kotlinx.android.synthetic.main.consultant_layout_search_content.*
import
kotlinx.android.synthetic.main.consultant_layout_search_toolbar.*
import
kotlinx.android.synthetic.main.consultant_layout_search_toolbar.*
import
org.json.JSONObject
import
org.json.JSONObject
import
java.util.concurrent.Executors
import
java.util.concurrent.Executors
@Route
(
path
=
"/consultant/consultant"
)
class
ExpertSearchFragment
:
BaseMvpFragment
<
IExpertSearchView
,
ExpertSearchPresenter
>(),
View
.
OnClickListener
,
IExpertSearchView
,
class
ExpertSearchFragment
:
BaseMvpFragment
<
IExpertSearchView
,
ExpertSearchPresenter
>(),
View
.
OnClickListener
,
IExpertSearchView
,
OnCategoriesSelectedListener
,
OnSortItemSelectedListener
,
OnFilterConfirmListener
,
OnCategoriesSelectedListener
,
OnSortItemSelectedListener
,
OnFilterConfirmListener
,
SwipeRefreshLayout
.
OnRefreshListener
{
SwipeRefreshLayout
.
OnRefreshListener
{
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
View file @
2a690b30
...
@@ -17,15 +17,16 @@ import android.widget.FrameLayout;
...
@@ -17,15 +17,16 @@ import android.widget.FrameLayout;
import
android.widget.ImageView
;
import
android.widget.ImageView
;
import
android.widget.TextView
;
import
android.widget.TextView
;
import
com.alibaba.android.arouter.facade.annotation.Route
;
import
com.ydl.ydl_image.module.GlideApp
;
import
com.ydl.ydl_image.module.GlideApp
;
import
com.ydl.ydlcommon.base.BaseFragment
;
import
com.ydl.ydlcommon.base.BaseFragment
;
import
com.ydl.ydlcommon.utils.BuryPointUtils
;
import
com.ydl.ydlcommon.utils.BuryPointUtils
;
import
com.ydl.ydlcommon.utils.ScreenUtil
;
import
com.ydl.ydlcommon.utils.ScreenUtil
;
import
com.yidianling.common.tools.RxDeviceTool
;
import
com.yidianling.common.tools.RxDeviceTool
;
import
com.yidianling.common.tools.RxImageTool
;
import
com.yidianling.common.tools.RxImageTool
;
import
com.yidianling.dynamic.bean.DynamicConstants
;
import
com.yidianling.dynamic.R
;
import
com.yidianling.dynamic.R
;
import
com.yidianling.dynamic.R2
;
import
com.yidianling.dynamic.R2
;
import
com.yidianling.dynamic.bean.DynamicConstants
;
import
com.yidianling.dynamic.common.view.LooperTextView
;
import
com.yidianling.dynamic.common.view.LooperTextView
;
import
com.yidianling.dynamic.model.TopicListDataBean
;
import
com.yidianling.dynamic.model.TopicListDataBean
;
import
com.yidianling.dynamic.model.TrendsListBean
;
import
com.yidianling.dynamic.model.TrendsListBean
;
...
@@ -48,7 +49,7 @@ import jp.wasabeef.glide.transformations.RoundedCornersTransformation;
...
@@ -48,7 +49,7 @@ import jp.wasabeef.glide.transformations.RoundedCornersTransformation;
* Created by Jim on 2017/9/22 0022.
* Created by Jim on 2017/9/22 0022.
* 首页问答fragment
* 首页问答fragment
*/
*/
@Route
(
path
=
"/dynamic/dynamic"
)
public
class
TrendsHomeFragment
extends
BaseFragment
implements
ITrendHomeView
,
SwipeRefreshLayout
.
OnRefreshListener
{
public
class
TrendsHomeFragment
extends
BaseFragment
implements
ITrendHomeView
,
SwipeRefreshLayout
.
OnRefreshListener
{
@BindView
(
R2
.
id
.
trend_home_swl
)
@BindView
(
R2
.
id
.
trend_home_swl
)
...
...
m-home/src/xlzx/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
2a690b30
...
@@ -10,6 +10,7 @@ import android.support.v7.widget.LinearLayoutManager
...
@@ -10,6 +10,7 @@ import android.support.v7.widget.LinearLayoutManager
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.View
import
android.view.View
import
android.widget.RelativeLayout
import
android.widget.RelativeLayout
import
com.alibaba.android.arouter.facade.annotation.Route
import
com.ydl.webview.H5Params
import
com.ydl.webview.H5Params
import
com.ydl.webview.NewH5Activity
import
com.ydl.webview.NewH5Activity
import
com.ydl.ydl_image.module.GlideApp
import
com.ydl.ydl_image.module.GlideApp
...
@@ -48,7 +49,7 @@ import kotlinx.android.synthetic.xlzx.home_layout_home_module_toolbar.*
...
@@ -48,7 +49,7 @@ import kotlinx.android.synthetic.xlzx.home_layout_home_module_toolbar.*
* @Company 壹点灵
* @Company 壹点灵
* @date 2019/02/12
* @date 2019/02/12
*/
*/
@Route
(
path
=
"/home/home"
)
class
YdlHomeFragment
:
BaseMvpFragment
<
IHomeContract
.
View
,
HomePresenterImpl
>(),
class
YdlHomeFragment
:
BaseMvpFragment
<
IHomeContract
.
View
,
HomePresenterImpl
>(),
IHomeContract
.
View
,
IHomeContract
.
View
,
SwipeRefreshLayout
.
OnRefreshListener
{
SwipeRefreshLayout
.
OnRefreshListener
{
...
...
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
2a690b30
...
@@ -49,7 +49,7 @@ import kotlinx.android.synthetic.ydl.home_fragment.*
...
@@ -49,7 +49,7 @@ import kotlinx.android.synthetic.ydl.home_fragment.*
* @Company 壹点灵
* @Company 壹点灵
* @date 2019/02/12
* @date 2019/02/12
*/
*/
@Route
(
path
=
"/home/home"
)
class
YdlHomeFragment
:
BaseMvpFragment
<
IHomeContract
.
View
,
HomePresenterImpl
>(),
class
YdlHomeFragment
:
BaseMvpFragment
<
IHomeContract
.
View
,
HomePresenterImpl
>(),
IHomeContract
.
View
,
IHomeContract
.
View
,
SwipeRefreshLayout
.
OnRefreshListener
{
SwipeRefreshLayout
.
OnRefreshListener
{
...
...
m-im/src/main/java/com/yidianling/im/ui/page/NewMultiMessageFragment.kt
View file @
2a690b30
...
@@ -7,6 +7,7 @@ import android.support.v4.app.Fragment
...
@@ -7,6 +7,7 @@ import android.support.v4.app.Fragment
import
android.support.v4.view.ViewPager
import
android.support.v4.view.ViewPager
import
android.view.View
import
android.view.View
import
android.view.WindowManager
import
android.view.WindowManager
import
com.alibaba.android.arouter.facade.annotation.Route
import
com.alibaba.android.arouter.launcher.ARouter
import
com.alibaba.android.arouter.launcher.ARouter
import
com.netease.nimlib.sdk.NIMClient
import
com.netease.nimlib.sdk.NIMClient
import
com.netease.nimlib.sdk.msg.MsgService
import
com.netease.nimlib.sdk.msg.MsgService
...
@@ -19,7 +20,9 @@ import com.yidianling.im.R
...
@@ -19,7 +20,9 @@ import com.yidianling.im.R
import
com.yidianling.im.api.event.ImLogoutEvent
import
com.yidianling.im.api.event.ImLogoutEvent
import
com.yidianling.im.api.event.UpdateBottomBarUnreadNumEvent
import
com.yidianling.im.api.event.UpdateBottomBarUnreadNumEvent
import
com.yidianling.im.bridge.P2PCustomActionHandlerImpl
import
com.yidianling.im.bridge.P2PCustomActionHandlerImpl
import
com.yidianling.im.event.*
import
com.yidianling.im.event.MessageListRefreshEvent
import
com.yidianling.im.event.ReQureyUnreadNum
import
com.yidianling.im.event.UpdateTabUnreadNumEvent
import
com.yidianling.im.helper.MsgReceiveHelper
import
com.yidianling.im.helper.MsgReceiveHelper
import
com.yidianling.im.http.ImHttpImpl
import
com.yidianling.im.http.ImHttpImpl
import
com.yidianling.im.router.ImIn
import
com.yidianling.im.router.ImIn
...
@@ -43,6 +46,7 @@ import java.util.concurrent.TimeUnit
...
@@ -43,6 +46,7 @@ import java.util.concurrent.TimeUnit
/**
/**
* Created by xj on 2019/10/14.
* Created by xj on 2019/10/14.
*/
*/
@Route
(
path
=
"/im/im"
)
class
NewMultiMessageFragment
:
BaseFragment
()
{
class
NewMultiMessageFragment
:
BaseFragment
()
{
private
var
defaultTranslateX
:
Float
?
=
null
private
var
defaultTranslateX
:
Float
?
=
null
...
...
ydl-platform/src/main/java/com/ydl/ydlcommon/view/JumpTextView.kt
View file @
2a690b30
...
@@ -8,6 +8,7 @@ import android.util.TypedValue
...
@@ -8,6 +8,7 @@ import android.util.TypedValue
import
android.view.Gravity
import
android.view.Gravity
import
android.view.View
import
android.view.View
import
android.widget.FrameLayout
import
android.widget.FrameLayout
import
android.widget.ImageView
import
com.ydl.ydlcommon.R
import
com.ydl.ydlcommon.R
import
kotlinx.android.synthetic.main.platform_ui_jump_text_view.view.*
import
kotlinx.android.synthetic.main.platform_ui_jump_text_view.view.*
...
@@ -235,6 +236,21 @@ class JumpTextView : FrameLayout {
...
@@ -235,6 +236,21 @@ class JumpTextView : FrameLayout {
this
.
mRightTextColor
=
color
this
.
mRightTextColor
=
color
tv_right_text
!!
.
setTextColor
(
color
)
tv_right_text
!!
.
setTextColor
(
color
)
}
}
fun
getTvIcon
():
ImageView
{
return
iv_icon
!!
}
fun
setTvIcon
(
iconDrawable
:
Drawable
)
{
mIconDrawable
=
iconDrawable
iv_icon
!!
.
visibility
=
View
.
VISIBLE
iv_icon
!!
.
setImageDrawable
(
mIconDrawable
)
if
(
mLeftIconWidth
!=
-
1
&&
mLeftIconHeight
!=
-
1
)
{
iv_icon
!!
.
layoutParams
.
height
=
mLeftIconHeight
iv_icon
!!
.
layoutParams
.
width
=
mLeftIconWidth
}
}
fun
setLefttextColor
(
color
:
Int
)
{
fun
setLefttextColor
(
color
:
Int
)
{
this
.
mLeftTextColor
=
color
this
.
mLeftTextColor
=
color
tv_left_text
!!
.
setTextColor
(
color
)
tv_left_text
!!
.
setTextColor
(
color
)
...
...
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