Commit 885630a6 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent f58eb093
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_15" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
......
......@@ -69,7 +69,11 @@
android:configChanges="orientation|screenSize|keyboardHidden"
android:exported="true"
android:theme="@style/AppTheme.TranslucentSplish">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.activitys.SplashAdActivity"
......@@ -89,11 +93,7 @@
android:launchMode="singleTask"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoneTranslucent">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.activitys.WebActivity"
......
......@@ -21,7 +21,7 @@ public class VedioBean implements Serializable {
private String scriptName;
private String scriptAuthor;
private int vedioId;// 视频id,服务器标识
private int hot;// 播放量
private String hot;// 播放量
public String getThirdId() {
return thirdId;
}
......@@ -150,11 +150,11 @@ public class VedioBean implements Serializable {
this.collect = collect;
}
public int getHot() {
public String getHot() {
return hot;
}
public void setHot(int hot) {
public void String(String hot) {
this.hot = hot;
}
}
......@@ -174,7 +174,7 @@ public interface LoanService {
*
* @return
*/
@POST("api/feedback")
@POST("api/vedio/feedback")
Observable<BaseResponse<Object>> feedback(@Body Map<String, Object> vo);
/**
......
......@@ -39,7 +39,7 @@ class TopAdapter(val topList: MutableList<VedioBean>?) :
val topBean = topList?.get(position)
if (topBean != null) {
holder.tvTopItemLable.text = "${position + 1}"
holder.tvTopItemCount.text = "${topBean.hot}万"
holder.tvTopItemCount.text = topBean.hot
holder.tvTopItemTitle.text = "${topBean.title}"
if (topBean.orderTags != null && topBean.orderTags.size > 0) {
val sb = StringBuilder()
......
......@@ -211,7 +211,7 @@ class MainFragment : LazyLoadBaseFragment(), HomeView, View.OnClickListener, OnR
iv_main_watching_pic
)
tv_main_watching_name.text = cacheVedio.title
tv_main_watching_text1.text = "上次观看至第${cacheVedio.completeStatus}集"
tv_main_watching_text1.text = "上次观看至第${cacheVedio.seeIndex}集"
if (cacheVedio.orderTags != null && cacheVedio.orderTags.size > 0) {
val sb = StringBuilder()
for (i in 0 until cacheVedio.orderTags.size) {
......
......@@ -25,10 +25,15 @@ android.nonTransitiveRClass=true
DEBUG_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_URL="https://api.mints-tech.cn/camera-api/"
RELEASE_KEY_PASSWORD=mintshelivideo
RELEASE_KEY_ALIAS=mints_helivideo
RELEASE_STORE_PASSWORD=mintshelivideo
RELEASE_STORE_FILE=mints_helivideo.jks
#RELEASE_KEY_PASSWORD=mintshelivideo
#RELEASE_KEY_ALIAS=mints_helivideo
#RELEASE_STORE_PASSWORD=mintshelivideo
#RELEASE_STORE_FILE=mints_helivideo.jks
RELEASE_KEY_PASSWORD=mintswisdomclean
RELEASE_KEY_ALIAS=mints_wisdomclean
RELEASE_STORE_PASSWORD=mintswisdomclean
RELEASE_STORE_FILE=mints_wisdomclean.jks
#ShareSDK
RELEASE_SHARESDK_KEY=381ca97ef616d
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment