Skip to content

PaystackOSS/sample-movie-ticket

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

sample-movie-ticket

A simple application that shows how to integrate Paystack into your Android app.

Project setup

This project makes use of the MovieDB API to fetch movies. Here are the steps for setting up the project

  • Create an account on MovieDB. You need an API key to make requests to MovieDB
  • Clone this project and open in Android Studio
  • Open the gradle.properties file and add the following params:
    • MOVIE_DB_API_KEY="your_movie_db_api_key"
    • PSTK_PUBLIC_KEY="your_paystack_public_key"
  • Sync project
  • Run project when sync is successful

Code Structure

The project made use of the default Android architecture and the Java programming language. The project package consists of the following directories:

  • adapter: This contains custom adapters for the recycler views
  • model: This contains the custom types for data returned from network calls
  • network: This contains the network configurations and API endpoints
  • utils: This holds classes that are used in multiple places
  • view: This holds all the activities code. There are four activities used in this project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages