mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
PositiveButtonを押されたときに更新するようにした
This commit is contained in:
parent
1e0ba33519
commit
50f00411ca
|
@ -211,7 +211,12 @@ public class ViewerContainerFragment extends Fragment {
|
||||||
.setListener(new LacertaApplyTagDialog.LacertaApplyTagDialogListener() {
|
.setListener(new LacertaApplyTagDialog.LacertaApplyTagDialogListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onDialogPositiveClick(ArrayList<DocumentTag> appliedTags) {
|
public void onDialogPositiveClick(ArrayList<DocumentTag> appliedTags) {
|
||||||
// 適用
|
lacertaLibrary.applyTagListToDocument(documentId, appliedTags).thenAccept(aVoid -> {
|
||||||
|
getActivity().runOnUiThread(() -> {
|
||||||
|
Toast.makeText(getContext(), "タグを適用しました", Toast.LENGTH_SHORT).show();
|
||||||
|
lacertaApplyTagDialog.dismiss();
|
||||||
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue
Block a user