app try to get url:
https://material.uplabs.com/posts/c/resources?page=2
but site return full HTML page
can you fix this for demo? or tell me please answer format
and app crash
for this you need to write:
private void getRandomCover(List items) {
if (items.size() >0) {
Item item = items.get(new Random().nextInt(items.size()));
UpRequests.getItemImage(item.getId(), this);
}
}
app try to get url:
https://material.uplabs.com/posts/c/resources?page=2
but site return full HTML page
can you fix this for demo? or tell me please answer format
and app crash
for this you need to write:
private void getRandomCover(List items) {
if (items.size() >0) {
Item item = items.get(new Random().nextInt(items.size()));
UpRequests.getItemImage(item.getId(), this);
}
}