Coder Social home page Coder Social logo

novanews's Introduction

Introduction ๐Ÿ‘‹

This project is to provide a simple example of using WordPress REST API to access content within any WordPress site.

Results ๐Ÿฅณ

Features ๐Ÿ‘ฉโ€๐Ÿ’ป

Prerequisites

This project assumes a base knowledge of Kotlin and Android, such as Activities, Fragments, RecyclerViews , and the Manifest.

App Package

### Adapter :

This package is for recycler adapters of recyclerview because we use paging in this app we need to use pagingdataadapter class from paging 3 library instead of the normal recyclerview adapter class .

App :

In this package we have the base Application class we use this class to init hilt .

Di :

Di package is for Hilt modules .

Models :

This package is for modles class's for example ( Categories Post ) .

Network :

In this package we have all the get request's to connect to WordPress REST API and we have also the base URL for the WordPress website change it to match your use case .

Paging :

In this Pachage we have PagingSource is used to load pages of data from WordPress REST API .

Repository :

Part of MVVM architectural design pattern .

ViewModel :

Part of MVVM architectural design pattern .

Contributing ๐Ÿค

Feel free to open a issue or submit a pull request for any bugs/improvements.

novanews's People

Contributors

elmountahiii 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.