pull/157/head
M66B 6 years ago
parent 86822f4e79
commit 8f1d5cda93

@ -1816,6 +1816,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
tvMessage.setText(context.getText(R.string.title_ask_show_image));
// TODO: dialog fragment
final Dialog dialog = new AlertDialog.Builder(context)
.setView(dview)
.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
@ -3507,7 +3508,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}
})
.setNegativeButton(R.string.title_no, null)
.show();
.create();
}
}

@ -3302,6 +3302,7 @@ public class FragmentCompose extends FragmentBase {
final ArrayAdapter<EntityAnswer> adapter =
new ArrayAdapter<>(getContext(), R.layout.spinner_item1, android.R.id.text1);
// TODO: spinner
new SimpleTask<List<EntityAnswer>>() {
@Override
protected List<EntityAnswer> onExecute(Context context, Bundle args) {
@ -3334,7 +3335,7 @@ public class FragmentCompose extends FragmentBase {
sendResult(RESULT_OK);
}
})
.show();
.create();
}
}

@ -4357,6 +4357,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
public Dialog onCreateDialog(@Nullable Bundle savedInstanceState) {
final ArrayAdapter<EntityAccount> adapter = new ArrayAdapter<>(getContext(), R.layout.spinner_item1, android.R.id.text1);
// TODO: spinner
new SimpleTask<List<EntityAccount>>() {
@Override
protected List<EntityAccount> onExecute(Context context, Bundle args) {

Loading…
Cancel
Save