Giter VIP home page Giter VIP logo

kasem-sm / slimekt Goto Github PK

View Code? Open in Web Editor NEW
594.0 594.0 51.0 27.95 MB

An article sharing platform where you can personalize, subscribe to your favorite topics, get daily-read reminders, etc. App built using Kotlin, Dagger Hilt, Room Database, Coroutines, Flow, AndroidX Glance, WorkManager, Coil etc.

Home Page: https://kasem-sm.github.io/SlimeKT

License: Apache License 2.0

Kotlin 99.99% Shell 0.01% Procfile 0.01%
android-app hacktoberfest hacktoberfest2022 jetpack-compose kotlin ktor-client modularization mvvm-architecture room-database

slimekt's Introduction

Hello ๐Ÿ‘‹

Passionate about Native Android, Kotlin, Jetpack Compose & Django as well.

Profile Views

Connect with me:

@kasem.sm

Languages and Tools:

firebase java kotlin mysql postgresql python

slimekt's People

Contributors

esafirm avatar indyfromoz avatar kasem-sm avatar nirmaljeffrey avatar rvenky125 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slimekt's Issues

When the user re-log's in and fetches the topics that are in Explore section, filter the actual topics from the API and move the rest to subscription section.

Study

Any topics that are not subscribed by the user will be displayed in explore section.

Imagine a scenario where the user log's out
and therefore all the topics that are subscribed
will be pushed into explore section.

The user then log's in,
goes to the Explore section and tries to fetch his explore topics (unsubscribed topics),

our API call will do the work and get the unsubscribed topics
but remember that all topics were moved into Explore section when the user previously signed out, so we will have to filter the actual Explore topics of API from the cache explore topics and move the rest to the subscription section. (as topics that aren't subscribed are in explore section and vice versa)

Project structure Improvements.

  1. Move all common reusable .gradle files into gradle/ folder, thereby cleaning root dir.
  2. rename worker modules to more explicit names such as daily-read-worker
  3. remove unnecessary plugins

List of problems!

  • I would suggest avoid using the name of project on classes.

  • Singleton CoroutineScope is a wrong pattern because every async operation needs to have a scope to define when they will be canceled. Check here

  • As we chatted, the interfaces in the data module should moved out to a new module, let's name it data-api, so other modules that needs it could inject the interfaces. Also as I noticed the interfaces of implementation in data module actually are on wrong modules! For instance, the implementation of ArticleDao interface will be generated in the data module so this interface must be beside other Dao interfaces in the so called data-api module.

  • It's hard to understand why you have core module and also common-ui and features/authentication/common-ui modules!

Hope it helps.

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.