Commit Graph

13 Commits

Author SHA1 Message Date
Martijn Brekhof 7330f85241 Fixed issue with recursing music items
Using Kodi's JSON RPC, Kodi may return less items than requested, even
if there are more items available. The old method of determining if
more items are available by checking if the amount of items returned
equals the amount requested does not work in these cases. Therefore,
we now use the returned List.LimitsReturned to determine if there are
more items available. If List.LimitsReturned.end equals
List.LimitesReturned.total we assume we retrieved all items.
2016-05-10 15:08:38 +02:00
Martijn Brekhof 0e34874307 Implemented restoring search query
When user enters a search query for a ListFragment the query will
now be restored on device configuration changes and when
ListFragment is restored from the backstack or in a ViewPager.
2016-04-04 14:21:28 +02:00
Martijn Brekhof 8bfe2665dd Refactored MediaFileListFragment to support multi-/single-columns
Refactored AbstractListFragment to make it more generic and allow it to be used by
MediaFileListFragment. This adds support for switching between a single- and multicolumn
view.
Created new abstract class AbstractCursorListFragment for list fragments using a cursoradapter.
2016-03-22 12:22:15 +01:00
Raafat Akkad 63c32467d4 Add ability to sort by year, rating and length in the Movie fragment 2015-12-12 17:39:10 +01:00
Synced Synapse d8435ae161 Possible fix to crash reported on Play Store (Fragment not attached to activity in OnCreateOptionsMenu) 2015-12-02 19:35:40 +00:00
Martijn Brekhof 5ca6f99cb7 Now passing all info from MovieListFragment to MovieDetailsFragment 2015-11-23 16:46:41 +01:00
Martijn Brekhof db609e84e5 Fixed resizing issue of TextViews at end of shared element transition 2015-11-23 14:57:13 +01:00
Martijn Brekhof 4d2776af0b Fixed gradle build and excluded fab button from fade animation 2015-11-23 13:39:40 +01:00
Martijn Brekhof c35a4f58eb Implemented shared element transition for movie posters
* Refactored OnMovieSelectedListener interface to keep argument list small.
* Changed fragment transition animation to make shared element transition
  smooth and nicely integrated with the whole scene animation.
2015-11-20 14:33:38 +01:00
Synced Synapse fa869b854c Make loading images in main lists use the same size as in the details view, so that both uses the same cached version in Picasso's cache, so that the image is immediatelly shown when the user enters the details view. 2015-11-02 18:24:54 +00:00
Synced Synapse 80fb10e534 Refactoring on Media list UI, for functions related with the Sync Service.
Removed AbstractMusicListFragment.java dur to the refactor
2015-10-13 23:05:50 +01:00
Martijn Brekhof 499e54f2cf Improved keeping user informed on sync progress
Implemented binding to LibrarySyncService to check if there are items currently
syncing or queued to sync. This makes it possible to inform user of background
sync processes.

Created two abstract classes to reduce code duplication and check if
LibrarySyncService has any items queued which are currently being displayed.

Fixed issue with SwipeRefreshLayout from appcompat library, which does not
always show the refresh animation when refresh is set to true.
2015-09-02 12:04:17 +02:00
Synced Synapse ed584fb9b7 Changed namespace/appid to org.xbmc.kore 2015-03-09 21:35:18 +00:00