Skip to content

An android app that use WordPress REST API to access content within any WordPress site

Notifications You must be signed in to change notification settings

Elmountahiii/NovaNews

Repository files navigation

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.

About

An android app that use WordPress REST API to access content within any WordPress site

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages