> private String ancestorid; 11
12
    private String parentid;
13
14
    private String userid;
15
16
    private String agreeNum;
17
18
    private String tel;
19
20
    private String hascar;
21
22
    private String zhanid;
23
24
    private String content;
25
26
    private String fileUrl;
27
28
    private String file2Url;
29
30
    private String file3Url;
31
32
    private String theme;
33
34
    private String isPlay;
35
36
    private String type;
37
38
    private String thumUrl;
39
40
    private String addtime;
41
42
    private String nickname;
43
44
    private String userpic;
45
46
    private String username;
47
48
    private String chexing;
49
50
    private String fine;
51
52
    private String commentsCount;
53
54
    private String starLevel;
55
56
    private String tag;
57
58
    private List<SubcommentBean> subcomments;
59
60
    private Integer isCertifiedOwner;
61
62
    private String title;
63
64
    public String getId() {
65
        return id;
66
    }
67
68
    public void setId(String id) {
69
        this.id = id;
70
    }
71
72
    public String getAncestorid() {
73
        return ancestorid;
74
    }
75
76
    public void setAncestorid(String ancestorid) {
77
        this.ancestorid = ancestorid;
78
    }
79
80
    public String getParentid() {
81
        return parentid;
82
    }
83
84
    public void setParentid(String parentid) {
85
        this.parentid = parentid;
86
    }
87
88
    public String getUserid() {
89
        return userid;
90
    }
91
92
    public void setUserid(String userid) {
93
        this.userid = userid;
94
    }
95
96
    public String getAgreeNum() {
97
        return agreeNum;
98
    }
99
100
    public void setAgreeNum(String agreeNum) {
101
        this.agreeNum = agreeNum;
102
    }
103
104
    public String getTel() {
105
        return tel;
106
    }
107
108
    public void setTel(String tel) {
109
        this.tel = tel;
110
    }
111
112
    public String getHascar() {
113
        return hascar;
114
    }
115
116
    public void setHascar(String hascar) {
117
        this.hascar = hascar;
118
    }
119
120
    public String getZhanid() {
121
        return zhanid;
122
    }
123
124
    public void setZhanid(String zhanid) {
125
        this.zhanid = zhanid;
126
    }
127
128
    public String getContent() {
129
        return content;
130
    }
131
132
    public void setContent(String content) {
133
        this.content = content;
134
    }
135
136
    public String getFileUrl() {
137
        return fileUrl;
138
    }
139
140
    public void setFileUrl(String fileUrl) {
141
        this.fileUrl = fileUrl;
142
    }
143
144
    public String getFile2Url() {
145
        return file2Url;
146
    }
147
148
    public void setFile2Url(String file2Url) {
149
        this.file2Url = file2Url;
150
    }
151
152
    public String getFile3Url() {
153
        return file3Url;
154
    }
155
156
    public void setFile3Url(String file3Url) {
157
        this.file3Url = file3Url;
158
    }
159
160
    public String getTheme() {
161
        return theme;
162
    }
163
164
    public void setTheme(String theme) {
165
        this.theme = theme;
166
    }
167
168
    public String getIsPlay() {
169
        return isPlay;
170
    }
171
172
    public void setIsPlay(String isPlay) {
173
        this.isPlay = isPlay;
174
    }
175
176
    public String getType() {
177
        return type;
178
    }
179
180
    public void setType(String type) {
181
        this.type = type;
182
    }
183
184
    public String getThumUrl() {
185
        return thumUrl;
186
    }
187
188
    public void setThumUrl(String thumUrl) {
189
        this.thumUrl = thumUrl;
190
    }
191
192
    public String getAddtime() {
193
        return addtime;
194
    }
195
196
    public void setAddtime(String addtime) {
197
        this.addtime = addtime;
198
    }
199
200
    public String getNickname() {
201
        return nickname;
202
    }
203
204
    public void setNickname(String nickname) {
205
        this.nickname = nickname;
206
    }
207
208
    public String getUserpic() {
209
        return userpic;
210
    }
211
212
    public void setUserpic(String userpic) {
213
        this.userpic = userpic;
214
    }
215
216
    public String getUsername() {
217
        return username;
218
    }
219
220
    public void setUsername(String username) {
221
        this.username = username;
222
    }
223
224
    public String getChexing() {
225
        return chexing;
226
    }
227
228
    public void setChexing(String chexing) {
229
        this.chexing = chexing;
230
    }
231
232
    public String getFine() {
233
        return fine;
234
    }
235
236
    public void setFine(String fine) {
237
        this.fine = fine;
238
    }
239
240
    public String getCommentsCount() {
241
        return commentsCount;
242
    }
243
244
    public void setCommentsCount(String commentsCount) {
245
        this.commentsCount = commentsCount;
246
    }
247
248
    public String getStarLevel() {
249
        return starLevel;
250
    }
251
252
    public void setStarLevel(String starLevel) {
253
        this.starLevel = starLevel;
254
    }
255
256
    public String getTag() {
257
        return tag;
258
    }
259
260
    public void setTag(String tag) {
261
        this.tag = tag;
262
    }
263
264
    public List<SubcommentBean> getSubcomments() {
265
        return subcomments;
266
    }
267
268
    public void setSubcomments(List<SubcommentBean> subcomments) {
269
        this.subcomments = subcomments;
270
    }
271
272
    public Integer getIsCertifiedOwner() {
273
        return isCertifiedOwner;
274
    }
275
276
    public void setIsCertifiedOwner(Integer isCertifiedOwner) {
277
        this.isCertifiedOwner = isCertifiedOwner;
278
    }
279
280
    public String getTitle() {
281
        return title;
282
    }
283
284
    public void setTitle(String title) {
285
        this.title = title;
286
    }
287
}

+ 153 - 0
app/src/main/java/com/electric/chargingpile/data/SubcommentBean.java

@ -0,0 +1,153 @@
1
package com.electric.chargingpile.data;
2
3
public class SubcommentBean {
4
    private String id;
5
6
    private String ancestorid;
7
8
    private String parentid;
9
10
    private String userid;
11
12
    private String tel;
13
14
    private String hascar;
15
16
    private String zhanid;
17
18
    private String content;
19
20
    private String addtime;
21
22
    private String nickname;
23
24
    private String userpic;
25
26
    private String username;
27
28
    private String child;
29
30
    private String pnickname;
31
32
    private String ptel;
33
34
    public String getId() {
35
        return id;
36
    }
37
38
    public void setId(String id) {
39
        this.id = id;
40
    }
41
42
    public String getAncestorid() {
43
        return ancestorid;
44
    }
45
46
    public void setAncestorid(String ancestorid) {
47
        this.ancestorid = ancestorid;
48
    }
49
50
    public String getParentid() {
51
        return parentid;
52
    }
53
54
    public void setParentid(String parentid) {
55
        this.parentid = parentid;
56
    }
57
58
    public String getUserid() {
59
        return userid;
60
    }
61
62
    public void setUserid(String userid) {
63
        this.userid = userid;
64
    }
65
66
    public String getTel() {
67
        return tel;
68
    }
69
70
    public void setTel(String tel) {
71
        this.tel = tel;
72
    }
73
74
    public String getHascar() {
75
        return hascar;
76
    }
77
78
    public void setHascar(String hascar) {
79
        this.hascar = hascar;
80
    }
81
82
    public String getZhanid() {
83
        return zhanid;
84
    }
85
86
    public void setZhanid(String zhanid) {
87
        this.zhanid = zhanid;
88
    }
89
90
    public String getContent() {
91
        return content;
92
    }
93
94
    public void setContent(String content) {
95
        this.content = content;
96
    }
97
98
    public String getAddtime() {
99
        return addtime;
100
    }
101
102
    public void setAddtime(String addtime) {
103
        this.addtime = addtime;
104
    }
105
106
    public String getNickname() {
107
        return nickname;
108
    }
109
110
    public void setNickname(String nickname) {
111
        this.nickname = nickname;
112
    }
113
114
    public String getUserpic() {
115
        return userpic;
116
    }
117
118
    public void setUserpic(String userpic) {
119
        this.userpic = userpic;
120
    }
121
122
    public String getUsername() {
123
        return username;
124
    }
125
126
    public void setUsername(String username) {
127
        this.username = username;
128
    }
129
130
    public String getChild() {
131
        return child;
132
    }
133
134
    public void setChild(String child) {
135
        this.child = child;
136
    }
137
138
    public String getPnickname() {
139
        return pnickname;
140
    }
141
142
    public void setPnickname(String pnickname) {
143
        this.pnickname = pnickname;
144
    }
145
146
    public String getPtel() {
147
        return ptel;
148
    }
149
150
    public void setPtel(String ptel) {
151
        this.ptel = ptel;
152
    }
153
}

+ 2 - 0
app/src/main/res/layout/activity_chat.xml

@ -22,6 +22,7 @@
22 22
            android:orientation="horizontal">
23 23
24 24
            <TextView
25
                android:visibility="gone"
25 26
                android:id="@+id/act_bar_title_recommend"
26 27
                android:layout_width="wrap_content"
27 28
                android:layout_height="match_parent"
@ -34,6 +35,7 @@
34 35
                android:textSize="18sp" />
35 36
36 37
            <View
38
                android:visibility="gone"
37 39
                android:layout_width="1dp"
38 40
                android:layout_height="15dp"
39 41
                android:background="@color/ui_6d" />

+ 64 - 15
app/src/main/res/layout/activity_single_comment.xml

@ -7,7 +7,7 @@
7 7
    android:layout_width="match_parent"
8 8
    android:layout_height="match_parent"
9 9
    android:background="@color/white"
10
    tools:context="com.electric.chargingpile.activity.SingleCommentActivity">
10
   >
11 11
12 12
    <com.zhy.autolayout.AutoRelativeLayout
13 13
        android:id="@+id/rl_title"
@ -171,7 +171,7 @@
171 171
                    android:layout_alignLeft="@+id/tv_pname"
172 172
                    android:layout_marginTop="10dp"
173 173
                    android:layout_marginRight="15dp"
174
                    android:text=""
174
                    tools:text="sssssssssgin"
175 175
                    android:textAppearance="?android:attr/textAppearanceSmall"
176 176
                    android:textSize="15sp"
177 177
                    android:visibility="visible" />
@ -186,31 +186,75 @@
186 186
                    android:visibility="visible"
187 187
                    zhy:max_select="-1" />
188 188
189
                <ImageView
190
                    android:id="@+id/iv_commentPic"
191
                    android:layout_width="65dp"
192
                    android:layout_height="65dp"
189
                <RelativeLayout
190
                    android:layout_marginTop="10dp"
191
                    android:id="@+id/imgLayout"
193 192
                    android:layout_below="@+id/fl_ptag"
194 193
                    android:layout_alignLeft="@+id/tv_pcontext"
195
                    android:layout_marginTop="10dp"
196
                    android:scaleType="centerCrop"
197
                    android:visibility="gone" />
194
                    android:layout_width="match_parent"
195
                    android:layout_height="wrap_content">
196
                    <ImageView
197
                        tools:visibility="visible"
198
                        android:id="@+id/iv_commentPic"
199
                        android:layout_width="65dp"
200
                        android:layout_height="65dp"
201
                        android:scaleType="centerCrop"
202
                        android:visibility="gone" />
203
                    <ImageView
204
                        android:layout_marginEnd="4dp"
205
                        android:layout_marginStart="4dp"
206
                        android:id="@+id/imgTwo"
207
                        tools:visibility="visible"
208
                        android:layout_width="65dp"
209
                        android:layout_height="65dp"
210
                        android:layout_toRightOf="@+id/iv_commentPic"
211
                        android:scaleType="centerCrop"
212
                        android:visibility="gone" />
213
                    <ImageView
214
                        android:id="@+id/imgThree"
215
                        tools:visibility="visible"
216
                        android:layout_width="65dp"
217
                        android:layout_height="65dp"
218
                        android:layout_toRightOf="@+id/imgTwo"
219
                        android:scaleType="centerCrop"
220
                        android:visibility="gone" />
221
222
                    <ImageView
223
                        tools:visibility="visible"
224
                        android:id="@+id/imgVideo"
225
                        android:layout_width="110dp"
226
                        android:layout_height="62dp"
227
                        android:scaleType="centerCrop"
228
                        android:visibility="gone" />
229
230
                    <ImageView
231
                        android:layout_centerInParent="true"
232
                        android:id="@+id/imgStart"
233
                        android:layout_width="wrap_content"
234
                        android:layout_height="wrap_content"
235
                        android:layout_alignEnd="@+id/imgVideo"
236
                        android:layout_alignParentStart="true"
237
                        android:src="@drawable/app_talk_video_icon"
238
                        android:visibility="gone"
239
                        tools:visibility="visible" />
240
                </RelativeLayout>
198 241
199 242
                <TextView
200 243
                    android:id="@+id/tv_ptime"
201 244
                    android:layout_width="wrap_content"
202 245
                    android:layout_height="wrap_content"
203
                    android:layout_below="@+id/iv_commentPic"
246
                    android:layout_below="@+id/imgLayout"
204 247
                    android:layout_alignStart="@+id/tv_pcontext"
205 248
                    android:layout_alignLeft="@+id/tv_pcontext"
206 249
                    android:layout_marginTop="10dp"
207 250
                    android:layout_marginBottom="8dp"
208
                    android:text=""
251
                    tools:text="2020-04-14"
209 252
                    android:textAppearance="?android:attr/textAppearanceSmall"
210 253
                    android:textColor="#c8c8c8"
211 254
                    android:textSize="12sp" />
212 255
213 256
                <TextView
257
                    tools:visibility="visible"
214 258
                    android:id="@+id/tv_pdelete"
215 259
                    android:layout_width="wrap_content"
216 260
                    android:layout_height="wrap_content"
@ -228,7 +272,7 @@
228 272
                    android:id="@+id/ll_pzan"
229 273
                    android:layout_width="wrap_content"
230 274
                    android:layout_height="wrap_content"
231
                    android:layout_below="@+id/iv_commentPic"
275
                    android:layout_below="@+id/imgLayout"
232 276
                    android:layout_toLeftOf="@+id/tv_preply"
233 277
                    android:paddingLeft="10dp"
234 278
                    android:paddingTop="10dp"
@ -261,7 +305,7 @@
261 305
                    android:id="@+id/tv_preply"
262 306
                    android:layout_width="wrap_content"
263 307
                    android:layout_height="wrap_content"
264
                    android:layout_below="@+id/iv_commentPic"
308
                    android:layout_below="@+id/imgLayout"
265 309
                    android:layout_alignEnd="@+id/tv_pcontext"
266 310
                    android:layout_alignRight="@+id/tv_pcontext"
267 311
                    android:layout_alignParentRight="true"
@ -277,6 +321,7 @@
277 321
278 322
279 323
                <TextView
324
                    tools:visibility="visible"
280 325
                    android:id="@+id/tv_childName"
281 326
                    android:layout_width="wrap_content"
282 327
                    android:layout_height="wrap_content"
@ -289,6 +334,7 @@
289 334
                    android:visibility="gone" />
290 335
291 336
                <TextView
337
                    tools:visibility="visible"
292 338
                    android:id="@+id/textView14"
293 339
                    android:layout_width="wrap_content"
294 340
                    android:layout_height="wrap_content"
@ -301,6 +347,7 @@
301 347
                    android:visibility="gone" />
302 348
303 349
                <TextView
350
                    tools:visibility="visible"
304 351
                    android:id="@+id/tv_parentName"
305 352
                    android:layout_width="wrap_content"
306 353
                    android:layout_height="wrap_content"
@ -313,6 +360,7 @@
313 360
                    android:visibility="gone" />
314 361
315 362
                <TextView
363
                    tools:visibility="visible"
316 364
                    android:id="@+id/tv_commentDetail"
317 365
                    android:layout_width="wrap_content"
318 366
                    android:layout_height="wrap_content"
@ -325,6 +373,7 @@
325 373
                    android:visibility="gone" />
326 374
327 375
                <com.electric.chargingpile.view.MyListView
376
328 377
                    android:id="@+id/lv_scomment"
329 378
                    android:layout_width="match_parent"
330 379
                    android:layout_height="wrap_content"
@ -395,7 +444,7 @@
395 444
                <!--android:background="@color/bg_row"-->
396 445
                <!--android:layout_below="@+id/ll_comment"/>-->
397 446
                <View
398
447
                    tools:visibility="visible"
399 448
                    android:layout_width="match_parent"
400 449
                    android:layout_height="0.5dp"
401 450
                    android:layout_below="@+id/tv_ptime"
@ -656,10 +705,10 @@
656 705
    </LinearLayout>
657 706
658 707
    <RelativeLayout
708
        tools:visibility="visible"
659 709
        android:id="@+id/rl_point"
660 710
        android:layout_width="80dp"
661 711
        android:layout_height="80dp"
662
        android:layout_alignBottom="@+id/sv"
663 712
        android:layout_alignParentBottom="true"
664 713
        android:layout_centerHorizontal="true"
665 714
        android:layout_marginBottom="50dp"

+ 16 - 0
app/src/main/res/layout/activity_video_detail.xml

@ -0,0 +1,16 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    android:layout_width="match_parent"
6
    android:layout_height="match_parent">
7
8
    <com.electric.chargingpile.video.VideoPlayer
9
        android:id="@+id/videoPlayer"
10
        android:layout_width="wrap_content"
11
        android:layout_height="wrap_content"
12
        app:layout_constraintEnd_toEndOf="parent"
13
        app:layout_constraintStart_toStartOf="parent"
14
        app:layout_constraintTop_toTopOf="parent" />
15
16
</androidx.constraintlayout.widget.ConstraintLayout>

cdzApp - Gogs: Go Git Service

充电桩app代码

huyuguo d2f797f8fa bug解决 7 vuotta sitten
XRefreshView f780ba992e remove 7 vuotta sitten
app d2f797f8fa bug解决 7 vuotta sitten
autolayout e1cf244fe0 remove Useless dependence 7 vuotta sitten
gradle e1cf244fe0 remove Useless dependence 7 vuotta sitten
keystore 06bd894653 init 7 vuotta sitten
library 7082cc0853 remove 7 vuotta sitten
videolibrary 9c85577f67 发布优化 7 vuotta sitten
zxing 43208863a3 主题详情页开发完成 7 vuotta sitten
.gitignore 769b760623 信息流列表开发 7 vuotta sitten
build.gradle 548ae8a830 话题详情页面开发 7 vuotta sitten
gradlew 3473529e39 fix video play exception 7 vuotta sitten
gradlew.bat e1cf244fe0 remove Useless dependence 7 vuotta sitten
icon_sgreen.png e1cf244fe0 remove Useless dependence 7 vuotta sitten
settings.gradle a2fcbb9471 视频部分开发 7 vuotta sitten