summaryrefslogtreecommitdiff
path: root/app/src/main/java/de/danoeh/antennapod/fragment/CompletedDownloadsFragment.java
AgeCommit message (Collapse)Author
2019-10-04Automatic AndroidX migrationByteHamster
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-06-24Extract methods from onViewCreatedAnderson Mesquita
2019-06-24Fix IDE warningsAnderson Mesquita
Deprecated method, null pointer exceptions, and simpler switch with only two cases.
2019-06-24Fix whitespaceAnderson Mesquita
2019-04-06Merge pull request #3083 from orionlee/bulk_remove_from_queue_1145H. Lehmann
Bulk remove from queue
2019-04-03bulk edit - refactor - rename internal constant flags so that the names are ↵orionlee
consistent
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-12-26Code styleByteHamster
2018-09-30Migrate rxjava to version 2Martin Fietz
2018-07-13Allow to add to queue from downloads sectionByteHamster
2018-04-11Changed batch edit icon and nameByteHamster
Closes #1146
2018-01-14Add final modifiersMartin Fietz
2016-06-29Fixed rule 'Lamdbas containing only one statement should not nest this ↵Soso Tughushi
statement in a block'
2016-03-27Episode view: Go to previous/next list item when swiping right/leftMartin Fietz
2016-03-22code cleaning:Domingos Lopes
- 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,
2016-01-26Add gears to action barMartin Fietz
2016-01-26Minor changesMartin Fietz
2015-12-19Prevent ArrayIndexOutOfBoundsExceptionMartin Fietz
2015-11-26RxJava defer -> fromCallableMartin Fietz
2015-09-19Replace some of the most annoying AsyncTasks with RxJavaMartin Fietz
2015-09-10Refactor database accessMartin Fietz
2015-04-05Minor changes: Log, import order, small refactoringsMartin Fietz
2014-12-19Replaced FeedItemDialog with ItemFragmentdaniel oeh
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