This commit is contained in:
Benoît Mauduit 2017-01-03 14:28:11 +01:00
parent c9edac2820
commit 80c9dbf180
2 changed files with 10 additions and 12 deletions

View File

@ -123,9 +123,8 @@ public class StreamInfoWorker {
} }
}); });
e.printStackTrace(); e.printStackTrace();
} } catch (YoutubeStreamExtractor.DecryptException de) {
// custom service related exceptions // custom service related exceptions
catch (YoutubeStreamExtractor.DecryptException de) {
h.post(new Runnable() { h.post(new Runnable() {
@Override @Override
public void run() { public void run() {

View File

@ -228,8 +228,7 @@ public class SearchInfoItemFragment extends Fragment {
totalItemCount = streamInfoListLayoutManager.getItemCount(); totalItemCount = streamInfoListLayoutManager.getItemCount();
pastVisiblesItems = streamInfoListLayoutManager.findFirstVisibleItemPosition(); pastVisiblesItems = streamInfoListLayoutManager.findFirstVisibleItemPosition();
if ( (visibleItemCount + pastVisiblesItems) >= totalItemCount && !isLoading) if ((visibleItemCount + pastVisiblesItems) >= totalItemCount && !isLoading) {
{
pageNumber++; pageNumber++;
search(searchQuery, pageNumber); search(searchQuery, pageNumber);
} }