Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unregistering from the EventDistributor on stop will prevent downloads
from updating when an episode finishes playing while the screen was off
(#2747), so this registers/unregisters on view create/destroy.
Disposing of the request to load items on stop could potentially cause
the same issue. Since we're disposing of this request on destroy,
there's no need to keep checking and disposing of it in the several
lifecycle methods.
There's no need to call `onFragmentLoaded()` on attach, since this is
the first lifecycle method to be called [[1]], meaning the items will
always be null by the time this method is called.
Finally, since `loadItems` depends on the view being created, it is now
only called on view create to avoid having to store state in the class
about whether the view has been created, taking advantage of the native
fragment lifecycle.
[1]: https://developer.android.com/guide/components/fragments
Closes: #2747
|
|
|
|
Deprecated method, null pointer exceptions, and simpler switch with only
two cases.
|
|
|
|
Bulk remove from queue
|
|
consistent
|
|
Episodes
|
|
|
|
|
|
|
|
|
|
Closes #1146
|
|
|
|
statement in a block'
|
|
|
|
- lambda expressions, method references,
- multi catches,
- remove unnecessary keywords (public keyword on interface method signatures, static on interfaces or enums, final on private method signatures),
- == false expressions,
- diamond type (<>) expressions,
- replace StringBuffer with StringBuilder for local variables used by a single thread,
- replace Arrays.asList with Collections.singletonList whenever applicable,
- inline variable returns (whenever the variable name's meaning is not important to understand the code),
- replace some chains of if/else if/... with switch/case,
- break append(a + b) into append(a).append(b) for StringBuilder objects,
- unused import statements,
- reduce log TAGs to 23 characters,
- MaterialDialog callback deprecated,
- ActionBarActivity for AppCompatActivity,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use new navigation drawer toggle
Customized colors of new themes
Updated navigation drawer layout
Updated "new episodes list" layout
Updated feeditemlist layout
Fixed refresh button behavior in feeditemlist
Updated downloads fragment layout
Fixed layouts on smaller screens, updated borderless buttons
Use PreferenceFragment instead of PreferenceActivity if possible
Changes of the Preference UI should now be made in the PreferenceController class.
Replaced vertical_divider with android:attr/listDivider
Updated itemlist layout in onlinefeedview
Fixed NPE in TagFragment
Updated gpodnet list layout
Updated search layout
Adjusted background color of external player
Added material design icons
Adjusted primary dark color
|
|
|
|
Switched from custom layout to standard gradle project structure
|