Skip to content

devfestindia/devfest-india2020-android

Repository files navigation

Devfest India 2020 Mobile Track

DevFestIndia 2020 Banner

This is the repo for the mobile track of Devfest India 2020. You can use this repo as your reference to check all the topics that got covered over 3 days.

Sessions 🎤

Day 1 Day 2 Day 3

Targeted audience 👪

This repo is for those who wanted to kickstart android development or just started and looking for a reference app that will teach them a few advanced concepts.

Goal 🎯

The goal of the DevFest 2020 mobile track is to teach you Android development covering basics, intermediate, and advanced topics by creating a BookMyShow movie listing clone. The mobile track is divided into 3 levels

  1. Beginner - Covering Android UI basics.
  2. Intermediate - Covering Retrofit to make an API request to remote server and RecyclerView.
  3. Expert - Covering MVVM architecture and Room Database for offline support.

In the end, you will get an app with a nice movie listing UI supporting offline access.

How to use this repo to follow sessions? 🧑‍💻

Repo has 3 branches beginner, intermediate, and expert. Day 1 starts with creating a fresh project and the beginner branch is a snapshot of that. The intermediate branch is a snapshot of the end of day 1. Day 2 starts from the intermediate branch and leads you to the expert branch. Finally, day 3 starts with the expert branch and leads you to the master branch.

So if you know the basics of android development and join us directly on day 2 checkout the intermediate branch and follow along. Similarly, if you are joining us directly on the day 3 checkout expert branch and follow along.

Please note we are using the movie DB API to get movies from the remote server. To get movies from API you would need an API key.

Try this in your code:

companion object {
    private const val API_KEY = "7bc0651fe0ea5973822df3bd27e779d9"
}

We would recommend to generate your own API key and use it if above key is not working. Please follow the below steps to configure your own API key.

  1. Register yourself on https://www.themoviedb.org/signup
  2. Fill all the required details to signup.
  3. Open your email and verify the email to get started. (Activate your account)
  4. Do login with the username and the password(you provided during signup)
  5. On Top right corner -> Click on your profile icon -> Settings -> API -> Request an Api Key -> Choose developer option(for demo/sample project ) -> Accept the terms -> Fill all the required details (You can give dummy value for application url as you won’t be having that, give good summary for application summary) -> Submit -> Copy API key and use.

Also, note that this will be required for Day 2 where we hit API using retrofit

Gist for each session 📄

Each session requires you to copy-paste a few files. Please find the gist of all files required session wise below.

Day 01

Day 02

Day 03

Screenshot

Screenshot of app

About

DevFest India 2020 Mobile Track repo covering each day session.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages