achmadqomarudin / NewsApp

A Sample News App written in Java using Android Architecture Components, MVVM, etc.
Apache License 2.0
46 stars 59 forks source link

news #5

Open mantizer opened 1 year ago

mantizer commented 1 year ago

The images do not appear in the application Screenshot_٢٠٢٣٠٢٢٨_١٢٣٤٣٣_News App Screenshot_٢٠٢٣٠٢٢٨_١٢٣٤٤٤_News App

Ismail-AD commented 1 year ago

This issue is related to json data as if you hit top headlines it's description and image is NULL

mantizer commented 1 year ago

How do I solve this problem can help

Ismail-AD commented 1 year ago

alternatively you can use newsg api rather than news api.I have updated my repo you can go for solution.

mantizer commented 1 year ago

I did not find a solution to this problem

Ismail-AD commented 1 year ago

its easy instead of using news API you should use https://gnews.io/ this website for api ...... the scene is the API used in this project has json data of null values at image so thats why it is not displaying now days so use the mentioned API for non-null data of images and description as well

mantizer commented 1 year ago

I used gnews the data is not showing in the app

1

Ismail-AD commented 1 year ago

But mine is displayed i am repeating you can check my repo