Coder Social home page Coder Social logo

Make instant app about squanchy-android HOT 7 CLOSED

rock3r avatar rock3r commented on June 2, 2024
Make instant app

from squanchy-android.

Comments (7)

rock3r avatar rock3r commented on June 2, 2024

CC @sockeqwe

Let's plan things here. I'm up for a catch-up call this evening. @quiro91 ?

from squanchy-android.

quiro91 avatar quiro91 commented on June 2, 2024

from squanchy-android.

sockeqwe avatar sockeqwe commented on June 2, 2024

What do you think about the following folder strategy (assuming Services have not been renamed to Repositories yet):

  • app
  • schedule (just a folder)
    • schedule-service (java lib gradle module that basically contains just the ScheduleService interface; depends on schedule-domain)
    • schedule-service-firestore ( android lib gradle module; depends on schedule-service)
    • schedule-service-local-db ( android lib gradle module; depends on schedule-service; uses local sqlite database)
    • schedule-domain (java lib gradle module containing classes like Day, Event etc.)
    • schedule-presentation (android lib containing presentation / UI like SchedulePageView; depending on schedule-service)

The same pattern could be applied to other "features / services" like search, speaker, favorites and so on.

app module then does all the dependency injection stuff and each conference can decide which scheduler-service implementation to use (schedule-service-firestore or schedule-service-local-db)

What do you think?

from squanchy-android.

rock3r avatar rock3r commented on June 2, 2024

Seems like a reasonable division. We can iterate on things again later on if we see it doesn't work well for schedule!

from squanchy-android.

sockeqwe avatar sockeqwe commented on June 2, 2024

Cool, I'm working on it. Will come back with a pull request soon.

from squanchy-android.

rock3r avatar rock3r commented on June 2, 2024

That's great, thanks Hannes :)

from squanchy-android.

rock3r avatar rock3r commented on June 2, 2024

We don't really need to modularise urgently for instant apps, since the limit is 10 MB and we're well below that, but we should focus on providing instant app capabilities!

See https://medium.com/androiddevelopers/the-android-dev-summit-2018-app-instant-app-takeaways-open-source-e5b590f78f38

from squanchy-android.

Related Issues (20)

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.