r/RedReader • u/QuantumBadger Developer 🦡 • Jun 22 '13
Progress update for version 2
Main Features
Version 2 will primarily involve writing a lightweight alternative to the bloated mess that is Android's system of activities and fragments. Activites are one of the main sources of inefficiency in this app. They are slow to open/close, they make it difficult to implement a lot of the features people have suggested, and Android's complicated and unpredictable management of them has lead to lots of bugs and crashes.
The new fragment system in version 2 will cause the following (previously difficult) fixes/features to be added:
Things will load immediately when they are clicked. No half-second delay.
Ability to show images/websites in the right pane on tablets (will be optional)
Ability to select a default "home" screen
Ability to have tablet-mode in landscape only
Will reliably save state when relaunching from the home screen (in the same way as it does when loading from the recent apps menu)
Will allow for smooth transitions between screens
The inbox/profiles/etc will be full screen on phones, and will take up the full screen height on tablets
Full-screen mode, where actionbar is hidden and main fragment (right col) fills whole screen
Various crashes (caused by background activities not being able to do certain things) will be fixed
Handling intents/urls from other applications
Better memory management
In the (distant) future, it will be possible to implemented a tabbed interface. No promises on that though.
What's more, version 2 will use a custom-built alternative to Android's ListView:
Scrolling will be incredibly smooth (in my current dev build, drawing takes less than 1 ms)
Rendering is multithreaded (and hence mind-bogglingly complicated)
Items in the post list will be highlighted when clicked
Flinging posts will no longer be interrupted when new posts stream in
Comment flinging will be possible
Comments, posts, and inbox messages can easily co-exist in the same list, allowing for saved comments for reddit gold users
And finally, it'll include all the other features I've promised but don't want to implement until after the above overhaul.
Progress so far
The custom fragment manager and list view are mostly done. Hopefully I'll be able to finish them off over the next few days, and work on rewriting the existing UI code to use them instead of Android's implementations.
When's it going to be released?
When it's done :)
4
u/PeridexisErrant Jun 23 '13
speaking of bugs...
I've noticed that when submitting a comment, it always - without fail - says 'connection lost' after waiting for a while, then immediately submits the comment on the second attempt. Is this a function of posting from australia, or some other issue?
3
u/QuantumBadger Developer 🦡 Jun 23 '13
It's probably just a problem on reddit's end, or a lossy internet connection. Personally I get connection and parse errors all the time, due to reddit not responding, or cutting off the response halfway.
1
2
u/JoeDoom Jul 03 '13
Can't wait for V2! In the meantime, is anyone else having major issues with gifs? They are very hit or miss for me.
4
u/QuantumBadger Developer 🦡 Jul 03 '13
Thanks! The GIF problem has been around for a while - basically I can't find a better decoder than the one I'm using.
2
u/Surgency Jul 03 '13
Will you be releasing a v2 alpha soon for those who want to try? Very excited here :)
2
u/QuantumBadger Developer 🦡 Jul 03 '13
It won't be for a while unfortunately - this is an incredibly complicated release.
1
8
u/PeridexisErrant Jun 22 '13
This sounds so amazing, have all the up votes. I don't understand how I'm keeping my patience... take as long as it takes, it's been consistently great so far.
/actually can't wait
1
u/Serdontos Aug 21 '13
Any significant progress?
2
u/QuantumBadger Developer 🦡 Aug 21 '13
It's going a lot slower than I hoped unfortunately, partly because I released a load of updates for the v1.8.x branch over the last few weeks.
As of this afternoon the custom list view (and associated multithreaded view hierarchy) is bug free, and very smooth. I'm hoping to have something alpha-ish ready within the next couple of weeks (no promises though).
It's possible to see changes as they happen on GitHub (the v2 branch is currently coloured pink).
1
u/Serdontos Aug 21 '13
can you give us any idea what the new ui is going to look like or is it too soon to tell ?
2
u/QuantumBadger Developer 🦡 Aug 21 '13
I'm going to try and keep it as close to the original as possible. Since v2 is mainly a rewrite of the underlying API, the main differences will be that the lag when scrolling/clicking things will be gone, fragments will slide around/resize with some nice animations, the app will be more stable, etc. It'll also make it easier to add a lot of new features which I've avoided until now (e.g. comment swiping).
One of the visible differences is that dialogs and pop-up menus will be replaced with fragments which slide in from the side of the screen (e.g. if you long click a post with your thumb on the right hand side of the screen, the context menu will slide in from the right).
1
u/Serdontos Aug 22 '13
as long as i can send pm's i'll be happy because if there is a way to send pm's already i couldn't figure it out
1
u/QuantumBadger Developer 🦡 Aug 22 '13
The v2 inbox should be completely redone, with the ability to send PMs.
1
3
u/felimz Jun 22 '13
I check this subreddit more than any other subreddit I'm subscribed to, and that should tell you how excited I am that this is happening.
2
u/felimz Aug 02 '13
I think I check this thread every single day. "Progress so far" updates make me happy.
7
u/adolflow Jun 22 '13
That's awesome and again I just want to say, I know you said you would but if you want to create a G+ community to gather beta testers, you could then release the preview releases for testing for those of us who wish to help... The only downside being that it replaces the current install (can't have both side by side) but other than that it works great (have it going on a couple of other apps)....