Commit 5cf76e30fcf265e30fbd42d51bb37a5bd3c72162

Authored by 朱显松
1 parent baaac59f

1.升级调试

.idea/misc.xml
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <project version="4">
3   - <component name="EntryPointsManager">
4   - <entry_points version="2.0" />
5   - </component>
6 3 <component name="NullableNotNullManager">
7 4 <option name="myDefaultNullable" value="android.support.annotation.Nullable" />
8 5 <option name="myDefaultNotNull" value="android.support.annotation.NonNull" />
... ... @@ -27,17 +24,7 @@
27 24 </value>
28 25 </option>
29 26 </component>
30   - <component name="ProjectLevelVcsManager" settingsEditedManually="false">
31   - <OptionsSetting value="true" id="Add" />
32   - <OptionsSetting value="true" id="Remove" />
33   - <OptionsSetting value="true" id="Checkout" />
34   - <OptionsSetting value="true" id="Update" />
35   - <OptionsSetting value="true" id="Status" />
36   - <OptionsSetting value="true" id="Edit" />
37   - <ConfirmationsSetting value="0" id="Add" />
38   - <ConfirmationsSetting value="0" id="Remove" />
39   - </component>
40   - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
  27 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
41 28 <output url="file://$PROJECT_DIR$/build/classes" />
42 29 </component>
43 30 <component name="ProjectType">
... ...
.idea/modules.xml
... ... @@ -2,12 +2,10 @@
2 2 <project version="4">
3 3 <component name="ProjectModuleManager">
4 4 <modules>
5   - <module fileurl="file://$PROJECT_DIR$/CNChatNDemo.iml" filepath="$PROJECT_DIR$/CNChatNDemo.iml" />
  5 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNChatNDemo.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNChatNDemo.iml" />
6 6 <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" />
7   - <module fileurl="file://$PROJECT_DIR$/CNIMDemo.iml" filepath="$PROJECT_DIR$/CNIMDemo.iml" />
8   - <module fileurl="file://$PROJECT_DIR$/CNIMDemo23.iml" filepath="$PROJECT_DIR$/CNIMDemo23.iml" />
9   - <module fileurl="file://$PROJECT_DIR$/CNIMDemo5.iml" filepath="$PROJECT_DIR$/CNIMDemo5.iml" />
10   - <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
  7 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNIMDemo23.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNIMDemo23.iml" />
  8 + <module fileurl="file://D:\AndroidStudiopro\CNIMDemo\CNIMDemo5.iml" filepath="D:\AndroidStudiopro\CNIMDemo\CNIMDemo5.iml" />
11 9 <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
12 10 </modules>
13 11 </component>
... ...
app/build.gradle
... ... @@ -5,7 +5,7 @@ android {
5 5 buildToolsVersion "25.0.0"
6 6 defaultConfig {
7 7 applicationId "com.cnlive.im"
8   - minSdkVersion 15
  8 + minSdkVersion 16
9 9 targetSdkVersion 23
10 10 versionCode 1
11 11 versionName "1.0"
... ... @@ -38,12 +38,11 @@ android {
38 38  
39 39 dependencies {
40 40 compile fileTree(dir: 'libs', include: ['*.jar'])
41   - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
42   - exclude group: 'com.android.support', module: 'support-annotations'
43   - })
  41 + compile 'com.inthecheesefactory.thecheeselibrary:fb-like:1.0.1'
44 42 compile 'com.android.support:appcompat-v7:23.4.0'
45 43 compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
46 44 compile 'com.android.support:recyclerview-v7:23.0.0'
47 45 compile 'com.github.bumptech.glide:glide:3.7.0'
48   - testCompile 'junit:junit:4.12'
  46 +// compile 'com.cnlive:lib_cnutil:3.0.0'
  47 + compile 'com.cnlive:lib_cnchat_rc:2.0.2'
49 48 }
... ...
app/libs/libcnliveutil.jar
No preview for this file type
app/note/聊天SDK文档.pdf deleted 100644 → 0
No preview for this file type
app/src/main/AndroidManifest.xml
... ... @@ -46,21 +46,6 @@
46 46 <activity android:name=".ui.PrivateActivity"
47 47 android:screenOrientation="portrait"/>
48 48  
49   - <service
50   - android:name="io.rong.imlib.ipc.RongService"
51   - android:exported="true"
52   - android:process=":ipc" />
53   - <service
54   - android:name="io.rong.imlib.ReConnectService"
55   - android:exported="true" />
56   -
57   - <receiver
58   - android:name="io.rong.imlib.ConnectChangeReceiver"
59   - android:exported="true" />
60   - <receiver
61   - android:name="io.rong.imlib.HeartbeatReceiver"
62   - android:process=":ipc" />
63   -
64 49 </application>
65 50  
66 51 </manifest>
67 52 \ No newline at end of file
... ...
app/src/main/java/com/cnlive/im/adapter/CommentAdapter.java
... ... @@ -10,7 +10,7 @@ import android.widget.TextView;
10 10  
11 11 import com.bumptech.glide.Glide;
12 12 import com.cnlive.im.R;
13   -import com.cnlive.libs.util.model.CommentItem;
  13 +import com.cnlive.libs.util.comment.model.CommentItem;
14 14  
15 15 import java.util.ArrayList;
16 16 import java.util.List;
... ...
app/src/main/java/com/cnlive/im/ui/CommentActivity.java
... ... @@ -13,14 +13,14 @@ import android.widget.Toast;
13 13  
14 14 import com.cnlive.im.R;
15 15 import com.cnlive.im.adapter.CommentAdapter;
16   -import com.cnlive.libs.util.chat.model.ErrorMessage;
17 16 import com.cnlive.libs.util.comment.CommentUtil;
18 17 import com.cnlive.libs.util.comment.base.CommentCallback;
19 18 import com.cnlive.libs.util.comment.base.CommentListCallback;
20 19 import com.cnlive.libs.util.comment.base.CommentProgramCallback;
21   -import com.cnlive.libs.util.model.CommentItem;
22   -import com.cnlive.libs.util.model.CommentPage;
23   -import com.cnlive.libs.util.model.CommentProgram;
  20 +import com.cnlive.libs.util.comment.model.CommentItem;
  21 +import com.cnlive.libs.util.comment.model.CommentPage;
  22 +import com.cnlive.libs.util.comment.model.CommentProgram;
  23 +import com.cnlive.libs.util.comment.model.ErrorMessage;
24 24  
25 25 import java.util.List;
26 26  
... ...
build.gradle
... ... @@ -3,10 +3,13 @@
3 3 buildscript {
4 4 repositories {
5 5 jcenter()
  6 + maven {
  7 + url 'https://dl.bintray.com/granzon/cnlive/'
  8 + }
6 9 }
7 10 dependencies {
8 11 classpath 'com.android.tools.build:gradle:2.3.3'
9   -
  12 +// compile 'com.inthecheesefactory.thecheeselibrary:fb-like:0.9.3'
10 13 // NOTE: Do not place your application dependencies here; they belong
11 14 // in the individual module build.gradle files
12 15 }
... ... @@ -15,6 +18,9 @@ buildscript {
15 18 allprojects {
16 19 repositories {
17 20 jcenter()
  21 + maven {
  22 + url 'https://dl.bintray.com/granzon/cnlive/'
  23 + }
18 24 }
19 25 }
20 26  
... ...