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
b2debf1d
Commit
b2debf1d
authored
Apr 21, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:图标更换
parent
ec8fffe0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
PublishQuestionAndTrendFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
+1
-1
TrendsHomeFragment.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
+11
-14
dynamic_fragment_publish_trend.xml
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
+0
-0
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/publishTrend/fragment/PublishQuestionAndTrendFragment.java
View file @
b2debf1d
...
...
@@ -266,7 +266,7 @@ public class PublishQuestionAndTrendFragment extends BaseFragment implements Vie
}
else
{
adapter
.
notifyDataSetChanged
();
}
publish_trend_img_rcv
.
setLayoutManager
(
new
GridLayoutManager
(
activity
,
4
));
publish_trend_img_rcv
.
setLayoutManager
(
new
GridLayoutManager
(
activity
,
3
));
publish_trend_img_rcv
.
setAdapter
(
adapter
);
adapter
.
setOnItemClickLister
(
new
DynamicPublishImageAdapter
.
OnItemClickLister
()
{
@Override
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendsHome/TrendsHomeFragment.java
View file @
b2debf1d
...
...
@@ -357,11 +357,11 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
vpContent
.
setCurrentItem
(
2
);
}
else
if
(
view
.
getId
()
==
R
.
id
.
publish_trend_btn
)
{
ActionCountUtils
.
Companion
.
count
(
YDL_USER_ASK_QUESTIONS_BUTTON_CLICK
);
trendsAndQuestionDialog
=
new
TrendsAndQuestionDialog
(
requireContext
(),
new
TrendsQuestionListener
(
)
{
@Override
public
void
publishTrends
()
{
//发布动态
if
(
DynamicIn
.
INSTANCE
.
loginByOneKeyLogin
(
getActivity
(),
true
))
{
if
(
DynamicIn
.
INSTANCE
.
loginByOneKeyLogin
(
getActivity
(),
true
)
)
{
trendsAndQuestionDialog
=
new
TrendsAndQuestionDialog
(
requireContext
(),
new
TrendsQuestionListener
()
{
@Override
public
void
publishTrends
()
{
//发布动态
Intent
intent
=
new
Intent
(
getActivity
().
getApplicationContext
(),
PublishTrendActivity
.
class
);
//默认改为今日打卡
Bundle
bundle
=
new
Bundle
();
...
...
@@ -372,12 +372,10 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
startActivity
(
intent
);
// PublishTrendActivityTrends.Companion.start(requireContext(),"44","今日打卡");
}
}
@Override
public
void
publishQuestion
()
{
//发布问题
if
(
DynamicIn
.
INSTANCE
.
loginByOneKeyLogin
(
getActivity
(),
true
))
{
@Override
public
void
publishQuestion
()
{
//发布问题
Intent
intent
=
new
Intent
(
getActivity
().
getApplicationContext
(),
PublishTrendActivity
.
class
);
//默认改为今日打卡
Bundle
bundle
=
new
Bundle
();
...
...
@@ -387,10 +385,9 @@ public class TrendsHomeFragment extends BaseFragment implements ITrendHomeView,
intent
.
putExtra
(
"bundle"
,
bundle
);
startActivity
(
intent
);
}
}
});
trendsAndQuestionDialog
.
show
();
});
trendsAndQuestionDialog
.
show
();
}
}
else
if
(
view
.
getId
()
==
R
.
id
.
trends_tv_mind_more
)
{
ActionCountUtils
.
Companion
.
count
(
YDL_USER_THOUGHTS_GROUP_MORE_CLICK
);
Intent
intent
=
new
Intent
(
getActivity
(),
AllTopicActivity
.
class
);
...
...
m-dynamic/src/main/res/layout/dynamic_fragment_publish_trend.xml
View file @
b2debf1d
This diff is collapsed.
Click to expand it.
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