summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/fragment/RunningDownloadsFragment.java
AgeCommit message (Collapse)Author
2019-07-22Updated appearance of empty viewByteHamster
2019-06-24Reorganize downloads fragments lifecycleAnderson Mesquita
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
2019-04-12Upgraded EventBus to v3ByteHamster
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).
2019-03-27Fixes #3052: Added empty views to the Playback History, Queue, Downloads and ↵Jatin Kumar
Episodes
2019-03-21Added empty views to the PlayBack History, Queue,and DownloadsJatin Kumar
2018-01-14Add final modifiersMartin Fietz
2015-12-19Prevent ArrayIndexOutOfBoundsExceptionMartin Fietz
2015-11-26DownloadObserver must dieMartin Fietz
2015-11-25Prevent a possible leak, minor refactoringsMartin Fietz
2015-09-10Refactor database accessMartin Fietz
2015-06-27Folks weren't always getting the updated copy of the download list, now they ↵Tom Hennen
are. fixes AntennaPod/AntennaPod#968
2015-05-09CANCELLEDMartin Fietz
2015-05-09Cancel auto downloadMartin Fietz
2014-11-05Updated layoutsdaniel oeh
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
2014-09-19Moved non-gui classes to 'core' packagedaniel oeh
2014-09-17Changed project structuredaniel oeh
Switched from custom layout to standard gradle project structure