Skip to content

Android application which demonstrates working of Google GSON Android Library

Notifications You must be signed in to change notification settings

akshaykhale1992/gson-demo

Repository files navigation

#Gson Demo This repository demonstrates working of Popular JSON processing Library Gson.

This app Connects to Youtube API and fetch Channel Video List and shows details in a Custom Listview.

To include Library in Project we have added

compile 'com.google.api-client:google-api-client-gson:1.21.0'

to build.gradle file in the App folder.

The project contains Four Classes

  1. MainActivity.java: Main Activity file of the Application.
  2. CustomListAdapter: Adapter class extending BaseAdapter for custom ListView
  3. Utility: Class containing helper functions.
  4. YoutubeResponse: Class which gets mapped to the Youtube API response. We are using GSon Library to do the Mapping.

The project has only one Activity the MainActivity with a TextView and a Button for searching channel data based on channel ID entered in TextView.

App Permissions App uses only android.permission.INTERNET permission.

About

Android application which demonstrates working of Google GSON Android Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages