Skip to content

Commit

Permalink
更新效果图
Browse files Browse the repository at this point in the history
  • Loading branch information
Moosphan committed May 29, 2018
1 parent f7008b5 commit f204a1e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions CommentWithReplyList/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
compileSdkVersion 25
defaultConfig {
applicationId "com.moos.example"
minSdkVersion 21
targetSdkVersion 26
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand All @@ -20,10 +20,10 @@ android {

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:25.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
testImplementation 'junit:junit:4.12'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support:design:25.1.0'
implementation 'de.hdodenhof:circleimageview:2.1.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.google.code.gson:gson:2.7'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import android.support.design.widget.CollapsingToolbarLayout;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
Expand Down Expand Up @@ -105,9 +106,9 @@ protected void onCreate(Bundle savedInstanceState) {
}

private void initView() {
toolbar = findViewById(R.id.toolbar);
expandableListView = findViewById(R.id.detail_page_lv_comment);
bt_comment = findViewById(R.id.detail_page_do_comment);
toolbar = (Toolbar) findViewById(R.id.toolbar);
expandableListView = (CommentExpandableListView) findViewById(R.id.detail_page_lv_comment);
bt_comment = (TextView) findViewById(R.id.detail_page_do_comment);
bt_comment.setOnClickListener(this);
setSupportActionBar(toolbar);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ private class GroupHolder{
private TextView tv_name, tv_content, tv_time;
private ImageView iv_like;
public GroupHolder(View view) {
logo = view.findViewById(R.id.comment_item_logo);
tv_content = view.findViewById(R.id.comment_item_content);
tv_name = view.findViewById(R.id.comment_item_userName);
tv_time = view.findViewById(R.id.comment_item_time);
iv_like = view.findViewById(R.id.comment_item_like);
logo = (CircleImageView) view.findViewById(R.id.comment_item_logo);
tv_content = (TextView) view.findViewById(R.id.comment_item_content);
tv_name = (TextView) view.findViewById(R.id.comment_item_userName);
tv_time = (TextView) view.findViewById(R.id.comment_item_time);
iv_like = (ImageView) view.findViewById(R.id.comment_item_like);
}
}

Expand Down
Binary file modified CommentWithReplyList/art/comment.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f204a1e

Please sign in to comment.