|
|
@ -624,7 +624,12 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|
|
|
.show();
|
|
|
|
.show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void onShowImages(EntityMessage message) {
|
|
|
|
private void onShowImages(final EntityMessage message) {
|
|
|
|
|
|
|
|
new DialogBuilderLifecycle(context, owner)
|
|
|
|
|
|
|
|
.setMessage(R.string.title_ask_show_image)
|
|
|
|
|
|
|
|
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(DialogInterface dialog, int which) {
|
|
|
|
properties.setImages(message.id, true);
|
|
|
|
properties.setImages(message.id, true);
|
|
|
|
btnImages.setEnabled(false);
|
|
|
|
btnImages.setEnabled(false);
|
|
|
|
|
|
|
|
|
|
|
@ -632,6 +637,10 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
|
|
|
|
args.putSerializable("message", message);
|
|
|
|
args.putSerializable("message", message);
|
|
|
|
bodyTask.load(context, owner, args);
|
|
|
|
bodyTask.load(context, owner, args);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.setNegativeButton(android.R.string.cancel, null)
|
|
|
|
|
|
|
|
.show();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private SimpleTask<Spanned> bodyTask = new SimpleTask<Spanned>() {
|
|
|
|
private SimpleTask<Spanned> bodyTask = new SimpleTask<Spanned>() {
|
|
|
|
private String body = null;
|
|
|
|
private String body = null;
|
|
|
|