소스 검색

1.2.0版本发布

Pq 2 년 전
부모
커밋
239215a940
3개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      student/build.gradle
  2. 1 1
      student/src/main/java/com/cooleshow/student/adapter/HomeTeacherStyleAdapter.java
  3. 2 2
      teacher/build.gradle

+ 2 - 2
student/build.gradle

@@ -18,8 +18,8 @@ android {
         applicationId "com.cooleshow.student"
         minSdkVersion 21
         targetSdkVersion 30
-        versionCode 110
-        versionName "1.1.0"
+        versionCode 120
+        versionName "1.2.0"
 
         ndk {
             abiFilters "armeabi-v7a", "arm64-v8a"

+ 1 - 1
student/src/main/java/com/cooleshow/student/adapter/HomeTeacherStyleAdapter.java

@@ -45,7 +45,7 @@ public class HomeTeacherStyleAdapter extends BaseQuickAdapter<HomeStyleBean.Rows
         tv_teacher_name.setText(item.username);
         tv_watch_count.setText(item.browse + "人观看");
 
-        if (item.liveing != null) {
+        if (TextUtils.equals(item.liveing,"1")) {
             helper.setVisible(R.id.liveing_text, true);
         } else {
             helper.setVisible(R.id.liveing_text, false);

+ 2 - 2
teacher/build.gradle

@@ -20,8 +20,8 @@ android {
         applicationId "com.cooleshow.teacher"
         minSdkVersion 21
         targetSdkVersion 30
-        versionCode 110
-        versionName "1.1.0"
+        versionCode 120
+        versionName "1.2.0"
         ndk {
             abiFilters "armeabi-v7a", "arm64-v8a"
         }