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
7d0db4f6
Commit
7d0db4f6
authored
Feb 04, 2020
by
ydl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页文章冥想动态剔除完成
parent
ed2f53bc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
22 deletions
+15
-22
MembersActivity.java
m-dynamic/src/main/java/com/yidianling/dynamic/members/MembersActivity.java
+4
-5
ITrendsDetailPresenterImpl.java
m-dynamic/src/main/java/com/yidianling/dynamic/trendsDetail/ITrendsDetailPresenterImpl.java
+1
-1
ParcelableImage.java
ydl-platform/src/main/java/com/ydl/ydlcommon/ui/ParcelableImage.java
+10
-16
platform_img_add.png
ydl-platform/src/main/res/drawable-xhdpi/platform_img_add.png
+0
-0
No files found.
m-dynamic/src/main/java/com/yidianling/dynamic/members/MembersActivity.java
View file @
7d0db4f6
...
@@ -23,7 +23,6 @@ import android.widget.ImageView;
...
@@ -23,7 +23,6 @@ import android.widget.ImageView;
import
android.widget.LinearLayout
;
import
android.widget.LinearLayout
;
import
android.widget.RelativeLayout
;
import
android.widget.RelativeLayout
;
import
android.widget.TextView
;
import
android.widget.TextView
;
import
android.widget.Toast
;
import
com.google.gson.internal.LinkedTreeMap
;
import
com.google.gson.internal.LinkedTreeMap
;
import
com.ydl.ydl_image.module.GlideApp
;
import
com.ydl.ydl_image.module.GlideApp
;
...
@@ -35,7 +34,7 @@ import com.ydl.ydlcommon.view.dialog.ListDialog;
...
@@ -35,7 +34,7 @@ import com.ydl.ydlcommon.view.dialog.ListDialog;
import
com.ydl.ydlcommon.view.widgets.BorderCircleImageView
;
import
com.ydl.ydlcommon.view.widgets.BorderCircleImageView
;
import
com.ydl.ydlcommon.view.widgets.MyNestedScrollView
;
import
com.ydl.ydlcommon.view.widgets.MyNestedScrollView
;
import
com.yidianling.common.tools.ToastUtil
;
import
com.yidianling.common.tools.ToastUtil
;
import
com.yidianling.dynamic.DynamicConstants
;
import
com.yidianling.dynamic.
bean.
DynamicConstants
;
import
com.yidianling.dynamic.R
;
import
com.yidianling.dynamic.R
;
import
com.yidianling.dynamic.common.browsePictures.BrowsePicturesActivity
;
import
com.yidianling.dynamic.common.browsePictures.BrowsePicturesActivity
;
import
com.yidianling.dynamic.common.net.DynamicApiUtils
;
import
com.yidianling.dynamic.common.net.DynamicApiUtils
;
...
@@ -44,7 +43,7 @@ import com.yidianling.dynamic.event.BlackEvent;
...
@@ -44,7 +43,7 @@ import com.yidianling.dynamic.event.BlackEvent;
import
com.yidianling.dynamic.event.LoginStateEvent
;
import
com.yidianling.dynamic.event.LoginStateEvent
;
import
com.yidianling.dynamic.model.Command
;
import
com.yidianling.dynamic.model.Command
;
import
com.yidianling.dynamic.model.MemberInfoBean
;
import
com.yidianling.dynamic.model.MemberInfoBean
;
import
com.y
idianling.dynamic.model.RecommendTrend
Image
;
import
com.y
dl.ydlcommon.ui.Parcelable
Image
;
import
com.yidianling.dynamic.router.DynamicIn
;
import
com.yidianling.dynamic.router.DynamicIn
;
import
com.yidianling.dynamic.trendList.TrendListInFragment
;
import
com.yidianling.dynamic.trendList.TrendListInFragment
;
import
com.yidianling.user.api.event.UserLoginEvent
;
import
com.yidianling.user.api.event.UserLoginEvent
;
...
@@ -372,8 +371,8 @@ public class MembersActivity extends BaseActivity implements View.OnClickListene
...
@@ -372,8 +371,8 @@ public class MembersActivity extends BaseActivity implements View.OnClickListene
Intent
intent
=
new
Intent
();
Intent
intent
=
new
Intent
();
intent
.
putExtra
(
"browse_type"
,
"member"
);
intent
.
putExtra
(
"browse_type"
,
"member"
);
Bundle
bd
=
new
Bundle
();
Bundle
bd
=
new
Bundle
();
List
<
RecommendTrendImage
>
images
=
new
ArrayList
<
RecommendTrend
Image
>();
List
<
ParcelableImage
>
images
=
new
ArrayList
<
Parcelable
Image
>();
RecommendTrendImage
image
=
new
RecommendTrend
Image
(
head
);
ParcelableImage
image
=
new
Parcelable
Image
(
head
);
images
.
add
(
image
);
images
.
add
(
image
);
bd
.
putParcelableArrayList
(
"allTrendImages"
,
(
ArrayList
<?
extends
Parcelable
>)
images
);
bd
.
putParcelableArrayList
(
"allTrendImages"
,
(
ArrayList
<?
extends
Parcelable
>)
images
);
intent
.
putExtra
(
"allTrendImages_bd"
,
bd
);
intent
.
putExtra
(
"allTrendImages_bd"
,
bd
);
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/trendsDetail/ITrendsDetailPresenterImpl.java
View file @
7d0db4f6
...
@@ -8,7 +8,7 @@ import com.ydl.ydlcommon.data.http.BaseResponse;
...
@@ -8,7 +8,7 @@ import com.ydl.ydlcommon.data.http.BaseResponse;
import
com.ydl.ydlcommon.mvp.base.SimplePresenter
;
import
com.ydl.ydlcommon.mvp.base.SimplePresenter
;
import
com.ydl.ydlcommon.utils.UserInfoCache
;
import
com.ydl.ydlcommon.utils.UserInfoCache
;
import
com.yidianling.common.tools.LogUtil
;
import
com.yidianling.common.tools.LogUtil
;
import
com.yidianling.dynamic.DynamicConstants
;
import
com.yidianling.dynamic.
bean.
DynamicConstants
;
import
com.yidianling.dynamic.common.net.DynamicApiUtils
;
import
com.yidianling.dynamic.common.net.DynamicApiUtils
;
import
com.yidianling.dynamic.model.CommentBean
;
import
com.yidianling.dynamic.model.CommentBean
;
import
com.yidianling.dynamic.model.ExpertBuild
;
import
com.yidianling.dynamic.model.ExpertBuild
;
...
...
m-dynamic/src/main/java/com/yidianling/dynamic/model/RecommendTrend
Image.java
→
ydl-platform/src/main/java/com/ydl/ydlcommon/ui/Parcelable
Image.java
View file @
7d0db4f6
package
com
.
y
idianling
.
dynamic
.
model
;
package
com
.
y
dl
.
ydlcommon
.
ui
;
import
android.os.Parcel
;
import
android.os.Parcel
;
import
android.os.Parcelable
;
import
android.os.Parcelable
;
/**
public
class
ParcelableImage
implements
Parcelable
{
* 动态中的图片
* Created by xiongyu on 2017/3/14.
*/
public
class
RecommendTrendImage
implements
Parcelable
{
private
String
image_url
;
private
String
image_url
;
public
RecommendTrend
Image
()
{
public
Parcelable
Image
()
{
}
}
public
ParcelableImage
(
String
image_url
)
{
public
RecommendTrendImage
(
String
image_url
)
{
this
.
image_url
=
image_url
;
this
.
image_url
=
image_url
;
}
}
protected
RecommendTrend
Image
(
Parcel
in
)
{
protected
Parcelable
Image
(
Parcel
in
)
{
image_url
=
in
.
readString
();
image_url
=
in
.
readString
();
}
}
public
static
final
Creator
<
RecommendTrendImage
>
CREATOR
=
new
Creator
<
RecommendTrend
Image
>()
{
public
static
final
Creator
<
ParcelableImage
>
CREATOR
=
new
Creator
<
Parcelable
Image
>()
{
@Override
@Override
public
RecommendTrend
Image
createFromParcel
(
Parcel
in
)
{
public
Parcelable
Image
createFromParcel
(
Parcel
in
)
{
RecommendTrendImage
recommendTrendImage
=
new
RecommendTrend
Image
();
ParcelableImage
recommendTrendImage
=
new
Parcelable
Image
();
recommendTrendImage
.
image_url
=
in
.
readString
();
recommendTrendImage
.
image_url
=
in
.
readString
();
return
recommendTrendImage
;
return
recommendTrendImage
;
}
}
@Override
@Override
public
RecommendTrend
Image
[]
newArray
(
int
size
)
{
public
Parcelable
Image
[]
newArray
(
int
size
)
{
return
new
RecommendTrend
Image
[
size
];
return
new
Parcelable
Image
[
size
];
}
}
};
};
...
...
m-dynamic/src/main/res/drawable-xhdpi/dynamic
_img_add.png
→
ydl-platform/src/main/res/drawable-xhdpi/platform
_img_add.png
View file @
7d0db4f6
File moved
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