|
|
@ -1419,13 +1419,17 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
wvBody.setVisibility(View.GONE);
|
|
|
|
wvBody.setVisibility(View.GONE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Bundle args = new Bundle();
|
|
|
|
final Bundle args = new Bundle();
|
|
|
|
args.putSerializable("message", message);
|
|
|
|
args.putSerializable("message", message);
|
|
|
|
args.putBoolean("show_images", show_images);
|
|
|
|
args.putBoolean("show_images", show_images);
|
|
|
|
args.putBoolean("show_full", show_full);
|
|
|
|
args.putBoolean("show_full", show_full);
|
|
|
|
args.putBoolean("show_quotes", show_quotes);
|
|
|
|
args.putBoolean("show_quotes", show_quotes);
|
|
|
|
args.putInt("zoom", zoom);
|
|
|
|
args.putInt("zoom", zoom);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Run task after measure
|
|
|
|
|
|
|
|
new Handler().post(new Runnable() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void run() {
|
|
|
|
new SimpleTask<Object>() {
|
|
|
|
new SimpleTask<Object>() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected Object onExecute(final Context context, final Bundle args) throws IOException {
|
|
|
|
protected Object onExecute(final Context context, final Bundle args) throws IOException {
|
|
|
@ -1593,6 +1597,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}.execute(context, owner, args, "message:body");
|
|
|
|
}.execute(context, owner, args, "message:body");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void bindAttachments(final TupleMessageEx message, @Nullable List<EntityAttachment> attachments) {
|
|
|
|
private void bindAttachments(final TupleMessageEx message, @Nullable List<EntityAttachment> attachments) {
|
|
|
|
if (attachments == null)
|
|
|
|
if (attachments == null)
|
|
|
|