News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2

The Most Popular Traffic Exchange Service

Make an Android News App
Read JSON data from the API

Demo App (.apk) : popularnews.page.link/apk

Hello everyone, now we will make a news application using the API from newsapi.org/ v2 -
API News Is JSON API for live news and blog articles from the media.

This tutorial uses retrofit2 as HTTP Clent -
Retrofit is a REST Client for Java and Android. Its use is very easy.

• News API.
• Retrofit.
• Glide for the Image Network.
• Material design.
• Prettytime for Convert Java Date() objects in just “a few minutes!”.


Demo App (.apk) : popularnews.page.link/apk

_____________________________________________


++++++++++++++++++++++
‡ Link to help code: ‡
++++++++++++++++++++++


¦ Dependencies: gist.github.com/haerulmuttaqin/e853cdfa7bd8c7330cc13b3ddd456574

¦ Color.xml: gist.github.com/haerulmuttaqin/30164cb535dc7f1264bd82304a70c8c6

¦ Drawable resources file: bit.ly/resources-newsapp

¦ Utils.java: gist.github.com/haerulmuttaqin/3d20a9127070451ccedd80c284649fd6

_____________________________________________


#2 : youtu.be/LutqUWiHoiI
#3 : youtu.be/Sujg1yg4a2E
#4 : youtu.be/_j7C_px28lo
#5 : youtu.be/fC_oGoVvMwY
#6 : youtu.be/pJXQVE72z80
#7 : youtu.be/HqwEmRsJfLA

_____________________________________________



Happy coding. ☺
Don't forget to Subscribe, Like, and Share it to be useful.

Connect with me: -

≡ Linkedin : linkedin.com/in/haerulmuttaqin/

≡ Instagram : instagram.com/haerulmuttaqin.id/

≡ Google+ : plus.google.com/+HaerulMuttaqin



©2018 • Haerul Muttaqin


=====================================
newsapi.org/
square.github.io/retrofit/
bumptech.github.io/glide/
material.io/design/
ocpsoft.org/prettytime/

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Video Statistics

Total Views
38,485
Total Likes
507
Total Comments
213

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Comments

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Reviews

Want to access your favorite websites?
Shane Kelly
Shane Kelly
10 October 2019

To make your images display do the following: 1. Go to Adapter.java 2. Go to your onBindViewHolder method. 3. Find all the holder. lines of code 4. Add the following code holder.imageView.setImageURI(Uri.parse(model.getUrlToImage())); 5. Run your app

joshua bautista
Joshua bautista
08 October 2019

my application keep showing no result but my code is same as yours . but the different i'm using this on fragments please help

Shubham Tiwari
Shubham Tiwari
06 October 2019

I am not getting correct date format. getting date format from some another country

Payoneer
Payoneer
14 October 2019

Exclusive Promo! Payoneer is an online payment platform that lets you transfer money from any corner of the world! Sign Up an Earn $25 for free by joining Payoneer click here!

Shubham Tiwari
Shubham Tiwari
05 October 2019

Sir in which class you added item.xml file? Can Any one help me.

sukron jazuli
Sukron jazuli
26 September 2019

Awesome... Give sourscode please.. 🙏🙏🙏 thank you.

Honeyminer
Honeyminer
14 October 2019

Start mining cryptocurrency right now, for free. Honeyminer makes mining and earning money simple for anyone with a computer. Start Earning Now!

ℭ𝔞𝔭𝔦𝔳𝔞𝔯𝔞 𝔍𝔞𝔪𝔞𝔦𝔠𝔞𝔫𝔞
ℭ𝔞𝔭𝔦𝔳𝔞𝔯𝔞 𝔍𝔞𝔪𝔞𝔦𝔠𝔞𝔫𝔞
24 September 2019

Thank you, You helped a lot! :)

On My Way
On My Way
22 September 2019

Everything is fine bt in the tutorial published At not getting data ...:(

Johann Wolfgang von Goethe
Johann Wolfgang von Goethe
22 September 2019

Sometimes our fate resembles a fruit tree in winter. Who would think that those branches would turn green again and blossom, but we hope it, we know it.

Akshay Shetty
Akshay Shetty
22 September 2019

Solution:- If you just see "top-headlines" text.. Goto Article.java and remove the line "import javaX.xml.transform.source" and then run the app again

Crayon Colors
Crayon Colors
19 September 2019

plz add voice to your video. It will be helpful to viewer and it is interactive. Thats fine if your english is not good!!!

sayedahmed abdelhalim
Sayedahmed abdelhalim
17 September 2019

App crash and i have this error android.view.InflateException: Binary XML file line #0: Error inflating class TextView how can i solve it?

Chuck Norris
Chuck Norris
14 October 2019

The thing worst than Chuck Norris is death...wait...I got it backwards.

ayoub anbara
Ayoub anbara
14 September 2019

why you are chose glide instead picasso

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Wiki

The internet with no limits

News is information about current events. This may be provided through many different media: word of mouth, printing, postal systems, broadcasting, electronic communication, or through the testimony of observers and witnesses to events. Common topics for news reports include war, government, politics, education, health, the environment, economy, business, fashion, and entertainment, as well as athletic events, quirky or unusual events. Government proclamations, concerning royal ceremonies, laws,...

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Images

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 image

News Feed 📰 (Get JSON & Display to RecyclerView) - Android News App Tutorial #1 • API •Retrofit2 Like Videos

Video Data


Express VPN

Haerul Muttaqin Similar Videos

    Wirex
    changelly

    Popular TV Seasons

    Shopify Make a Money

    Popular Apps

    Popular Podcasts