Code Monkey home page Code Monkey logo

redditsampler's Introduction

RedditSampler Info

This app has two appcompat activities that display a recycler view each. One with the posts and one with the comments, each with adapters/view holders. I decided to use Room for the database storage since it is the most efficient SQL wrapper to implement in android app stores using coroutines for multi threading. I also utilized view models with data binding to reduce boilerplate code and clean up the code around the recycler views. Retrofit is used in conjunction with coroutines for network requests. Only the coroutine launch method is used rather that async/await as I am doing one shot requests one at a time. The app should run with any reddit login credentials, you don't need mine. The app knows what the app id is for authentication, it is stored in the constants file.

Make sure you accept the permissions request that is brought up in a webview at the start of the user flow. You will keep getting prompted by this screen until you accept.

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, GitHub Pages will run Jekyll to rebuild the pages in your site, from the content in your Markdown files.

redditsampler's People

Contributors

broma186 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.