Git Product home page Git Product logo

rickandmorty-androidarchitecturesample's Introduction

rickandmorty-androidarchitecturesample's People

Contributors

sberoch avatar somesh-basicx 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rickandmorty-androidarchitecturesample's Issues

Show progress until data not arriving whether its server or database

I have a requirement where if there is no data in local database I need to query the network and show a progress bar. If the network returns empty data then I need to show a empty view. One of the problem is that I need to ignore the empty data from the room and only consider empty data from the server so that when the user doesn't have any data in room he just sees a loading view and after the server returns empty data he will see empty view.

reload info

Hello, I think it's excellent the way you do the cache and the call to the server but what would you do if you delete the whole database and you want to reload the data from the network, calling again the LiveData doesn't do it, could you explain me?

thank you

Question

sorry it's not an issue, but i really need help for POST method, how can do POST in viewmodel? if i have username and password

question

hello, this is a nice repo and i have question for you

Is it possible mapping data in DataAccessStrategy.kt like ServiceUser to ViewUser. In my project, there are so many redundant data and i don't want to save in database. That's why i wanna map it automatically.

question #8

Can I add MockWebServer for your project?

Contribute

Hi, this is great repository and I'm just wondering is this repo open for others contribution?

[Help] Unit test on repository

This sample architecture really inspired me a lot especially to start a new project.
Unfortunately, I've stuck on unit test now.

Any chances to work on unit test?
I did a unit test in repository. seems like performGetOperation getting

Overload resolution ambiguity:

public fun <T, A> performGetOperation(_sharePrefQuery: () -> LiveData<TypeVariable(T)>, networkCall: suspend () -> Either<ErrorResponse, Resource<TypeVariable(A)>>, _saveCallResult: suspend (TypeVariable(A)) -> Unit): LiveData<Resource<TypeVariable(T)>> defined in com.sicpa.gss.sicpaconnectproduct.network in file DataAccessStrategy.kt

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.