diff --git a/.idea/misc.xml b/.idea/misc.xml index b0c7b20..dc44dda 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -29,7 +29,7 @@ - + diff --git a/app/build.gradle b/app/build.gradle index 19bb14d..617bebb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,7 @@ android { applicationId "com.uam.wmi.findmytutor" minSdkVersion 22 targetSdkVersion 27 - versionCode 53 + versionCode 54 versionName "1.0.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/release/release/app.aab b/app/release/release/app.aab index 0b58fd8..3622ac4 100644 Binary files a/app/release/release/app.aab and b/app/release/release/app.aab differ diff --git a/app/release/release/fmtBeta0.9.5v18.aab b/app/release/release/fmtBeta0.9.5v18.aab deleted file mode 100644 index fb0edf9..0000000 Binary files a/app/release/release/fmtBeta0.9.5v18.aab and /dev/null differ diff --git a/app/src/main/java/com/uam/wmi/findmytutor/activity/UsersListFragment.java b/app/src/main/java/com/uam/wmi/findmytutor/activity/UsersListFragment.java index 5bef676..d7fc791 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/activity/UsersListFragment.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/activity/UsersListFragment.java @@ -82,6 +82,7 @@ public class UsersListFragment extends Fragment { private CompositeDisposable disposable = new CompositeDisposable(); private TutorsListAdapter mAdapter; private List tutorsList = new ArrayList<>(); + private List tutorsNewCordsList = new ArrayList<>(); private HashMap tutorsTimeStamps = new HashMap<>(); private Collator plCollator = Collator.getInstance(Locale.forLanguageTag("pl-PL")); @@ -457,6 +458,8 @@ public class UsersListFragment extends Fragment { tutorsTimeStamps.put(crd.getUserId(), getDate(ts)); } } + + mAdapter.notifyDataSetChanged(); } diff --git a/app/src/main/java/com/uam/wmi/findmytutor/adapters/TutorsListAdapter.java b/app/src/main/java/com/uam/wmi/findmytutor/adapters/TutorsListAdapter.java index ae445b5..d496156 100644 --- a/app/src/main/java/com/uam/wmi/findmytutor/adapters/TutorsListAdapter.java +++ b/app/src/main/java/com/uam/wmi/findmytutor/adapters/TutorsListAdapter.java @@ -8,6 +8,7 @@ import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; +import android.widget.Toast; import com.uam.wmi.findmytutor.R; import com.uam.wmi.findmytutor.model.User; @@ -49,17 +50,23 @@ public class TutorsListAdapter extends RecyclerView.Adapter