Skip to content

This app implement how to retrieve data from API and load the data to list view with Kotlin.

Notifications You must be signed in to change notification settings

masfranzhuo/BitcoinNews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin News

This repository implement how to retrieve data from API and load the data to list view with Kotlin.

Why bitcoin? because bitcoin(BTC) is one of the topic developer see as popular topics nowadays and this news will be useful for people who keep up with bitcoin prices, especially investor or trader.

What code you will learn from this app?

  • Load JSON data from URL and parse with GSON
  • Swipe refresh
  • List view pagination with scrool listener
  • Load image URL with picasso
  • Firebase analytics

Application Screenshot

image

Demo Link

Note:

Don't forget to create your own keystore.properties file on the root folder. This file contains only one line of code below.

NewsapiApiKey="YOUR_API_KEY"

You can get your API key on News API site.