From 4272dd3e0898a4cda1f0b6343e03ac7afb24823f Mon Sep 17 00:00:00 2001 From: PatelVatsalB21 Date: Sun, 14 Mar 2021 23:43:47 +0530 Subject: [PATCH] fix 260: Toast added in RolesFragment --- .../fineract/ui/online/roles/roleslist/RolesFragment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/org/apache/fineract/ui/online/roles/roleslist/RolesFragment.java b/app/src/main/java/org/apache/fineract/ui/online/roles/roleslist/RolesFragment.java index fe22e550..f8ab59d8 100644 --- a/app/src/main/java/org/apache/fineract/ui/online/roles/roleslist/RolesFragment.java +++ b/app/src/main/java/org/apache/fineract/ui/online/roles/roleslist/RolesFragment.java @@ -15,6 +15,7 @@ import org.apache.fineract.ui.base.FineractBaseActivity; import org.apache.fineract.ui.base.FineractBaseFragment; import org.apache.fineract.ui.base.OnItemClickListener; +import org.apache.fineract.ui.base.Toaster; import java.util.List; @@ -88,6 +89,10 @@ void reloadRoles() { rvRoles.setVisibility(View.GONE); rolesPresenter.fetchRoles(); } + @OnClick(R.id.fab_add_role) + void showMessage() { + Toaster.show(rootView, R.string.Under_construction); + } @Override public void showUserInterface() {