Commit graph

4234 commits

Author SHA1 Message Date
neslihanturan
ed667112b4 Add fragments for nearby list and map into outer nearby fragment 2018-09-28 10:45:26 +03:00
neslihanturan
77840ae9d0 Move nearby activity to new nearby frament 2018-09-25 16:42:09 +03:00
neslihanturan
5395967c86 Add hardcoded strings to strings.xml 2018-09-25 16:22:45 +03:00
neslihanturan
1d559f577d Change tab on nerby card view click 2018-09-24 15:40:47 +03:00
neslihanturan
cd52beed5a Hide nearby card view when Media Details is visible 2018-09-24 13:42:28 +03:00
neslihanturan
8861e402e9 Fix notifications string 2018-09-24 12:43:47 +03:00
neslihanturan
f4b055607e Add progress bar to nearby cardview 2018-09-24 12:37:32 +03:00
neslihanturan
7de3ad8b89 Change method calls loadAttractionsFromLocation by considering new parameter to decide between closest nearby call or an usual nearby call 2018-09-18 14:16:05 +03:00
neslihanturan
735b4430c6 Register location manager accoring to permission is given, then call nearby card view updater methods 2018-09-18 14:13:12 +03:00
neslihanturan
23e1aa7ca4 Inject location manager 2018-09-18 14:11:19 +03:00
neslihanturan
722cab9508 Temporarily comment out icon setter methods since it crashes under API19 2018-09-18 14:09:13 +03:00
neslihanturan
546e37275a Make inner class vaariables public to reach them out of package 2018-09-18 14:05:27 +03:00
neslihanturan
fc41235d5f Modify getFromWikidataQuery method, so that based on the restunClosestResult boolean, we get only the closest nearby place, instead of fetching bunch of nearby places each time 2018-09-18 14:03:58 +03:00
neslihanturan
829256195b Add UI modifier methods to display notifications 2018-09-18 14:00:38 +03:00
neslihanturan
13ed4c0b5b Add a bugfix to set visibility of nearby notification cardview 2018-09-16 16:21:39 +03:00
neslihanturan
b1ac46c0da Add preference to disable or display closest nearby location 2018-09-14 14:18:15 +03:00
neslihanturan
3b5f8a35ab Make card view dismissable with swip 2018-09-14 13:21:00 +03:00
neslihanturan
0b965aa5e8 Inject location manager to activity instead 2018-09-14 12:24:08 +03:00
neslihanturan
a37fbf05f1 Add button click and permission request logic. Not: solve why location manager is null 2018-09-13 14:10:42 +03:00
neslihanturan
9fecc07ad7 Add a button which will be displayed when nearby permission is not granted thus closest point can't be displayed on main screen. Besides, theme dependent click styles are added to button 2018-09-13 12:51:19 +03:00
neslihanturan
69df3c01c9 Add card view to activity 2018-09-12 15:47:00 +03:00
neslihanturan
730dabd61c Add nearby custom card view class 2018-09-12 15:40:55 +03:00
neslihanturan
5f91d7de0c Add ation to notification icon 2018-09-12 14:51:28 +03:00
neslihanturan
1906579d33 Check if user visited noifications activity after last notification came 2018-09-10 18:52:25 +03:00
neslihanturan
a759741c86 Add date with year parameter to Notification class, because we will use it on comparasion of dates 2018-09-10 18:50:41 +03:00
neslihanturan
0ef52659b3 Recover notifications state on come back to contributions list from media details fragment 2018-09-10 15:19:34 +03:00
neslihanturan
8aca9aa6b2 Change notification icon (add blue dot) whenever a notification comes 2018-09-10 15:02:23 +03:00
neslihanturan
b5e5165165 Add shared preferences provider for latest notification activity visit time 2018-09-10 11:23:34 +03:00
neslihanturan
6168aee6ac Add shared preferences provider for latest notification activity visit time 2018-09-09 21:39:45 +03:00
neslihanturan
a2be516bc5 Save latest time user notification activity viewed 2018-09-09 21:36:43 +03:00
neslihanturan
714b22b733 Add unread notifications asynctask to check unread notifications on background 2018-09-09 21:30:49 +03:00
neslihanturan
137533f25b Remove number of uploads from contributions fragment since we moved it text of tab layout 2018-09-09 18:40:21 +03:00
neslihanturan
0497737922 Add contribution number next to tab text for contribution, as discussed in thread 2018-09-09 18:35:08 +03:00
neslihanturan
01461d2508 GetPagerFragment instead of getActivity since currently ContributionsFragment take over responsibility from ContributionsActivity 2018-09-09 17:34:57 +03:00
neslihanturan
94201aa930 Return parent fragment instead of parent activity 2018-09-07 21:24:04 +03:00
neslihanturan
9707b4310b Make number of uploads visible if contribution list is visible and number of uploads is uploaded. Progress bar is visible if contribution list is visible and number of uploads are uploading. Both invisible if Media Details Fragment is visible 2018-09-07 21:22:19 +03:00
neslihanturan
f8d06717fa Create ContributionListViewUtils class to change visibility of views according to MediaDetailsFragment visiblity or their loading state 2018-09-07 21:16:47 +03:00
neslihanturan
270d341690 Make sure we called onAuthAcquired from fragment after is is attached 2018-09-07 21:06:37 +03:00
neslihanturan
f5a1d9836c Add contribution list layout with FABs for camera and galerry 2018-09-07 20:45:58 +03:00
neslihanturan
095082248c Add contributin list fragment 2018-09-07 19:30:50 +03:00
neslihanturan
738db8306f Register and unregister datasetObservers 2018-09-07 18:53:57 +03:00
neslihanturan
01052a83b3 Implement onBack Pressed settings 2018-09-07 18:50:21 +03:00
neslihanturan
5252f6d66b Override media count methods 2018-09-07 18:46:51 +03:00
neslihanturan
d8ca1ec191 Add delete and retry functionality, note: not tested yet 2018-09-07 18:45:16 +03:00
neslihanturan
9db815a89e Show details of an image when item is clicked 2018-09-07 18:43:41 +03:00
neslihanturan
f44f08c2af set MediaDetilsView fragment or ContributionListFragment according to users state 2018-09-07 18:40:17 +03:00
neslihanturan
f2ab66cb1f Override cursor loader methods 2018-09-07 18:35:01 +03:00
neslihanturan
722f1ae915 Create variables and methods to reuse and create Media Detils Fragment and Contributions List Fragment which will be inside Contribution Fragment 2018-09-07 18:21:15 +03:00
neslihanturan
d59a258b91 Inifilate contributions list fragment view 2018-09-07 18:06:03 +03:00
neslihanturan
7d8a44b75f Create Contributions Fragment structure which will hold Media Detail Fragment and Contributions List Fragment 2018-09-07 17:20:03 +03:00