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
|
|
Also made sure that register/unregister are called in onStart/onStop
instead of onResume/onPause (prevents possible MultiWindow problems
where updates are not received because activity is not fucused).
|
|
Episodes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
are.
fixes AntennaPod/AntennaPod#968
|
|
|
|
|
|
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
|