Ivan Kupalov
84ef8ade98
Preserve status states on updates. UI layer refactoring.
...
Some things were pulled out of adapters to fragments. New classes were introduced - StatusViewData and NotificationViewData. They not only have view state in them but also help decoupling.
Because introducing parallel model list requires a lot of synchronisation PairedList was added.
Also synchronisation between fragments and adapters is quiet tedious and error-prone and should be replaces with better solution.
Oh, I also couldn’t resist and fixed bug with buttons animation in the same commit.
7 years ago
Ivan Kupalov
d7c110a5a6
Add boost click handling
7 years ago
Vavassor
fc03f51cf4
Makes end of list footers have zero height.
7 years ago
Vavassor
f1359d1864
Adds correct footer behaviour to account lists and unifies it with how timelines use them.
7 years ago
Vavassor
2a98693ed4
Moves loading of accounts, notifications, and statuses to use link headers. Also remedies an issue where duplicate calls for the same chunk of items in a list can occur.
7 years ago
Vavassor
875b2eb4af
Adds option to hide media previews if reduced data usage is desired Closes #56 .
7 years ago
Vavassor
e0b8498d0d
Adds ability to page between multiple images in a status by swiping from left to right. Closes #66
7 years ago
Vavassor
00188182b7
Broadcasts now cause a refresh on timelines after a post is composed instead of listeners.
...
As a side effect, pagers don't have to keep track of "registered fragments", which was a bad idea and caused crashes.
7 years ago
Vavassor
8b2441071f
Broadcasts now used everywhere for signalling to remove accounts' posts instead of listeners.
7 years ago
Conny Duck
4a402cbe54
remove unnecessary Log utility class, replace Exception.printStackTrace with logging
7 years ago
torrentcome
ad14995326
(receiver) create package for receiver
7 years ago
Pangoraw
e24e91b455
Allow broadcasting event across activities.
7 years ago
Vavassor
0b3d726eed
Adds a splash screen replacement.
7 years ago
Vavassor
7f31aff144
Reorganizes the whole codebase.
7 years ago
Vavassor
80971e2fc4
Custom tabs are now used for login and links on account pages, with a fallback to the default browser if not supported.
...
Also, fixes crashes when entering tag and threads due to me forgetting to implement the interfaces required by the code that removes posts from timelines when blocking/muting.
Also fixes a small bug where for mentions of users from other instances, clicking on the mention would open the profile in the browser instead of in-app.
7 years ago
Konrad Pozniak
dcf3e2836e
fix bugs with fab showing/hiding on scroll
7 years ago
Vavassor
c6cf2d034a
Blocking and muting now removes all statuses by that user in EVERY currently-loaded timeline.
7 years ago
Raphael Michel
834ad78c36
Allow to filter boosts and replies from home ( closes #133 )
7 years ago
Raphael Michel
fce573f1ec
Update thread view after sent reply ( closes #74 )
7 years ago
Raphael Michel
d732c5d0a7
Timeline footer improvements
7 years ago
Vavassor
3bf84f9b7d
Cleaned up content descriptions and added the last missing ones. Closes #122
7 years ago
Vavassor
2e45a0bbff
Adds missing content descriptions and fixes a bit of the follow button hiding code.
7 years ago
Vavassor
4d9fd09a3c
License change back to GPL 3
7 years ago
Zachary Epps
de0f1b7ab0
added new option in preferences.xml
...
modified MainActivity so that the "compose new toot" button is exposed as a static (had to copy its reference into a new variable so as to not upset BindView)
modified TimelineFragment so that when the RecycleView is instantiated we overload the onScroll so that we can hide the FAB
7 years ago
Vavassor
53376da406
Adds the local timeline.
7 years ago
Vavassor
3e21e59edc
Relicense to LGPL3
7 years ago
Vavassor
70536ed001
Fixed some odd refresh behaviour and possibly the duplicate 20 statuses issue?
7 years ago
Vavassor
0662f35b96
Fragments/Activities auto-cancel their requests when they're destroyed. Also, fixes a ComposeActivity crash that can occur when a media preview doesn't load.
7 years ago
Eugen Rochko
17b958f8ed
Cancel retrofit calls in fragment onDestroy
7 years ago
Vavassor
ed08f708ed
Fixed intermittent null pointer exceptions and disabled the light theme temporarily. This closes #21 , closes #22 , and closes #17 .
7 years ago
Vavassor
b937a7bc9e
Fixed intermittent null pointer exceptions and disabled the light theme temporarily. This closes #21 , closes #22 , and closes #17 .
7 years ago
Eugen Rochko
daf7e6ed6a
Prevent double notifications
...
Check timelines for updates on resume
7 years ago
Vavassor
851a92a271
Refreshing uses since_id wherever applicable. Also, reverted the notification icon.
7 years ago
Vavassor
42a8f47991
Removed most references to Volley.
7 years ago
Eugen Rochko
750c1c80a0
Statuses and notifications loaded/parsed via Retrofit/GSON
...
Notification checker uses since_id as the more exact check-for-updates
7 years ago
Vavassor
9e49da64bf
Fixes two bugs:
...
-One where deletion causes statuses to lose track of where they are in timelines, so subsequent deletion and other actions are performed on the wrong status.
-It's was possible to infinitely open copies of the same thread, account page, and tag page by just continuously clicking on the status, avatar, or hash tag respectively.
7 years ago
Vavassor
c1d4bdbdfb
Volley request leaks across activity/fragment boundaries should no longer be able to occur.
...
Also, the singleton allows contexts to be cleaned up instead of holding onto a dead reference.
7 years ago
Vavassor
46fe328967
A bit of code cleanup, mostly getting rid of warnings.
7 years ago
Vavassor
9b6f5e63d3
Viewing your block list is now possible on the main menu.
...
Also, changed how end-of-timeline behaviour is handled on all timelines. It should detect it more reliably now.
7 years ago
Vavassor
e59c0534c7
Viewing your favourites is now accessible on the main menu.
7 years ago
Vavassor
af4af94775
Fixed crash on pre-Lollipop devices (API levels 20 and prior) due to trying to load attributes in drawables.
7 years ago
Vavassor
22a2a31afe
Changed visual theme to a dark style. Also, set up things for a future switchable light/dark theme.
7 years ago
Vavassor
33883aca3d
End of timelines are now detected correctly. Also, duplicate notifications/accounts are prevented.
7 years ago
Vavassor
b4a91112a3
Initial Alpha release!
7 years ago
Vavassor
c937d30713
Fix: All statuses failed to load when status JSON was checked for boolean values, but received null and would throw a JSONException.
...
A change in the Mastodon server implementation seemed to be the cause. In the future, either default booleans to false or check for null first before getting them.
7 years ago
Vavassor
1429dfc7b5
Account profiles no longer partial!
7 years ago
Vavassor
60d68b0ae6
Partial account profile pages now in. Follows/Followers tabs are empty and block/follow does nothing yet.
7 years ago
Vavassor
dbb2663882
Links and tags in statuses are now clickable and open suitable pages.
...
Mentions are also, incidentally, but still link to the account page for that user in the browser. This should be changed to an in-app account page when that's finished, but it's actually fairly suitable fallback behaviour for now.
7 years ago
Vavassor
b00a3cf443
Adds a toot thread viewing mode. Also, many files were missing and didn't push so the previous commits may have been very wrong?
7 years ago
Vavassor
98085bab6a
License info now available
7 years ago