Skip to content

A small Android App demonstrating POSTing to an API, retrieving and parsing some JSON, and displaying it in a draggable grid. Images can be moved and sorted in preference and submitted to a Ranked Choice voting system.

SwishDaddy/android_demo

Repository files navigation

Android (React Native) Coding Example

Using React to Fetch and Display Data

This project is intended to demonstrate some React Native chops. :)

Description

This code posts to an API (https://work-samples.swishersolutions.com/api/api.php) to receive a list of images, and then displays them in a draggable list.

  • There are two image sets that can be toggled, one of the author and one of superheroes.
  • You can order the Images in your preferred order from Most Favorite to Least Favorite by dragging and dropping the images.
  • Once you are happy with the order, you can submit your choices with the "Cast Vote" button.
  • Each card has a View button to open the image in a new window.

Download the .apk file and/or View the Demo Video

https://work-samples.swishersolutions.com/android

Contact

Author: Mike Swisher https://work-samples.swishersolutions.com

About

A small Android App demonstrating POSTing to an API, retrieving and parsing some JSON, and displaying it in a draggable grid. Images can be moved and sorted in preference and submitted to a Ranked Choice voting system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published