Cosmetic
This commit is contained in:
parent
c9edac2820
commit
80c9dbf180
@ -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() {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user