Ammar Githam
c1b5094dc7
Move activity notification viewer to its own nav graph. Fixes https://github.com/austinhuang0131/barinsta/issues/247
2020-11-11 20:04:38 +09:00
Ammar Githam
ebea1404c9
Add nav controller livedata null checks. Fixes https://github.com/austinhuang0131/barinsta/issues/196
2020-11-11 19:27:14 +09:00
Ammar Githam
abd6dd1143
Wrapping super.onDestroy in try-catch in MainActivity to workaround NavController crash
2020-11-10 21:46:31 +09:00
Ammar Githam
e530a336a7
Scroll feed to top when bottom feed tab clicked
2020-11-07 20:26:20 +09:00
Ammar Githam
25b2b504cb
save resource entry names in preferences instead of ids
2020-11-07 16:27:49 +09:00
Ammar Githam
bdcb32395b
Various DM fixes (check description)
...
Use new download flow.
Fix blank space at top when scrolling.
Fix animated media.
2020-11-04 23:58:06 +09:00
Ammar Githam
850e119236
Allow opening PostViewV2Fragment from NotificationsViewerFragment, StoryViewerFragment and when opening from a Share dialog
2020-11-04 20:24:53 +09:00
Ammar Githam
efd9a9c29d
Update Discover tab
2020-11-01 15:02:54 +09:00
Ammar Githam
6bf59e83ad
Initial commit for new posts layout
2020-10-17 19:07:03 +09:00
Ammar Githam
cbc7e5447f
Removing StorageUtil lib for the timebeing
2020-09-21 21:08:14 +09:00
Austin Huang
3e3c39ae4b
sd card test
2020-09-20 22:36:34 -04:00
Ammar Githam
7ea2ae853a
Fix Android Q leak. Reported by LeakCanary, more details here: https://issuetracker.google.com/issues/139738913
2020-09-21 03:45:58 +09:00
Ammar Githam
444c51a36d
Reselect proper tab immediately after logging off
2020-09-19 18:48:58 +09:00
Ammar Githam
cf974a74f3
Add favorites, also fixes the hashtag follow, and some theming
2020-09-19 04:18:14 +09:00
Ammar Githam
15eed4137a
Fix previous themes and add Material Dark theme (needs improvements)
2020-09-14 23:17:35 +09:00
Ammar Githam
ebdaae94d1
Initial commit for updated flow of themes. (Check description)
...
Removed DayNight theme. Added a 'white' theme for Light, and 'black' theme for Dark.
Users will have to set the type of Light or Dark theme they want to use.
Default is white for light, black for dark.
More themes will be added later.
2020-09-13 19:21:14 +09:00
Ammar Githam
08134ef5f1
Add activity checker service
2020-09-12 00:51:00 +09:00
Ammar Githam
37912854d0
Add activity/notification view fragment
2020-09-11 22:27:09 +09:00
Austin Huang
c9bd85cbf3
new about fragment
2020-09-10 15:29:02 -04:00
Ammar Githam
80044b5daf
Break down Utils into separate utility classes as Utils was getting bloated
2020-09-10 20:44:25 +09:00
Ammar Githam
00762c85e6
Add account switcher in MorePreferencesFragment
2020-09-10 19:39:10 +09:00
Ammar Githam
149410d552
Hide search if default tab is not profile
2020-09-09 00:55:28 +09:00
Ammar Githam
6b221c463b
Handle bottom nav and settings when logged out
2020-09-08 19:46:21 +09:00
Ammar Githam
8b502561c2
Specifically set Profile nav graph as default instead of using index, as the index may change if manNavList order is changed
2020-09-08 19:29:16 +09:00
Austin Huang
2d44033d3c
small polishings (see description)
...
* General (makeshift): Set default first-tab to be profile, adjust search button appearance logic, add fragment labels
* DM inbox items: Adjust group chat avatar sizes, reinstate unread indicators
* DM thread: Swap buttons per spirit of #122
* Profile: Fix story fetcher logic
* Story: Fix bug where first story can't scroll to next user, unify subtitle to timestamp, swap buttons per #122
* Comment: Unfocus replying comment when X is pressed
2020-09-07 16:01:44 -04:00
Ammar Githam
ccfaa1c397
Open post from dm thread and handle ig links properly from within the app
2020-09-07 22:44:56 +09:00
Ammar Githam
0d7b5199ea
Reorganise settings, add update check setting
2020-09-07 22:08:49 +09:00
Ammar Githam
466ac22d23
Handle intents (urls/share) from outside the app
2020-09-07 21:17:06 +09:00
Ammar Githam
17a5f978e8
Add setting for choosing default tab
2020-09-07 00:37:05 +09:00
Ammar Githam
c9d342471b
Add update checker back, with updated handling. Check description.
...
FlavorTown will check if current app was installed from F-droid and not show the update dialog if true.
You can now skip an update.
You can now force check for an update by clicking More -> Version (even if you set to skip the update).
2020-09-06 22:27:41 +09:00
Ammar Githam
89bb79a8fc
Add search back!
2020-09-06 02:02:54 +09:00
Ammar Githam
cc9348d8c5
Fix DM fragments, comment out deprecated activities
2020-09-05 16:16:11 +09:00
Ammar Githam
290ed50287
Convert follower activity to fragment
2020-09-05 03:19:06 +09:00
Ammar Githam
c64ae3a101
Convert comment viewer activity to fragment and update layouts
2020-09-05 02:38:36 +09:00
Ammar Githam
93fc9d82b9
Converted SavedViewer activity to fragment
2020-09-04 00:15:53 +09:00
Ammar Githam
649115a665
Add Location fragment
2020-08-30 21:51:47 +09:00
Ammar Githam
5c273d18a4
Add HashTag fragment
2020-08-30 20:45:37 +09:00
Ammar Githam
40e810e88c
Preferences! Check description
...
1. Added preferences screens.
2. Some DM changes.
3. Init profile actions using services
2020-08-30 15:47:04 +09:00
Ammar Githam
3f6c74d671
Tabs! Fragments! WIP!
2020-08-29 17:01:42 +09:00
Ammar Githam
0608882127
Re-fix play/stop autoplaying videos when navigating away
2020-08-25 00:38:27 +09:00
Ammar Githam
3c94e827d3
Merge branch 'master' into task/separate-feed-item-views
2020-08-25 00:18:53 +09:00
Ammar Githam
da98cff507
Update Feed view, check description
...
Changes:
1. Separate out view holders for feed post types.
2. Improve performance for binding.
4. Initiating migration from Glide to Fresco, as performance of Fresco is way better.
3. Prefetch feed view thumbnails to get aspect ratio, to improve layout performance.
4. If auto play is off, the videos in feed are not loaded until play is pressed.
5. Lots of optimizations here and there.
2020-08-25 00:05:54 +09:00
Ammar Githam
0b183c5ab5
Rename main activity to MainActivity
2020-08-22 16:34:52 +09:00