From 484d6d297ccf55ce9bfddb960641d9ce56eef33c Mon Sep 17 00:00:00 2001 From: Mobarak Hosen Shakil <20867846+imShakil@users.noreply.github.com> Date: Wed, 30 Oct 2019 23:05:31 +0600 Subject: [PATCH] minor bug fixed --- .../android/iunoob/bloodbank/fragments/AchievmentsView.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java b/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java index b29a3bc..eae6827 100755 --- a/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java +++ b/app/src/main/java/com/android/iunoob/bloodbank/fragments/AchievmentsView.java @@ -164,6 +164,9 @@ public void onDataChange(@NonNull final DataSnapshot dataSnapshot) { yesno.setVisibility(View.VISIBLE); yes = view.findViewById(R.id.btnYes); + cur_day = calendar.get(Calendar.DAY_OF_MONTH); + cur_month = calendar.get(Calendar.MONTH)+1; + cur_year = calendar.get(Calendar.YEAR); yes.setOnClickListener(new View.OnClickListener() { @Override