mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2024-11-27 07:49:28 +00:00
Parse comments content
This commit is contained in:
parent
9cf7e86ac8
commit
8ab6fb7cfd
@ -13,6 +13,7 @@ import org.communiquons.android.comunic.client.R;
|
||||
import org.communiquons.android.comunic.client.data.models.Comment;
|
||||
import org.communiquons.android.comunic.client.data.models.UserInfo;
|
||||
import org.communiquons.android.comunic.client.ui.listeners.onPostUpdateListener;
|
||||
import org.communiquons.android.comunic.client.ui.views.ContentTextView;
|
||||
import org.communiquons.android.comunic.client.ui.views.EnlargeableWebImageView;
|
||||
import org.communiquons.android.comunic.client.ui.views.LikeButtonView;
|
||||
import org.communiquons.android.comunic.client.ui.views.WebUserAccountImage;
|
||||
@ -86,7 +87,7 @@ class CommentsAdapter extends ArrayAdapter<Comment> {
|
||||
}
|
||||
|
||||
//Update comment content
|
||||
((TextView) view.findViewById(R.id.comment_text)).setText(comment.getContent());
|
||||
((ContentTextView) view.findViewById(R.id.comment_text)).setParsedText(comment.getContent());
|
||||
|
||||
//Update comment image (if any)
|
||||
EnlargeableWebImageView commentImage = view.findViewById(R.id.comment_image);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
|
||||
<!-- Comment content -->
|
||||
<TextView
|
||||
<org.communiquons.android.comunic.client.ui.views.ContentTextView
|
||||
android:id="@+id/comment_text"
|
||||
style="@style/CommentText"
|
||||
android:layout_width="0dp"
|
||||
|
Loading…
Reference in New Issue
Block a user