glung / redux-java Goto Github PK
View Code? Open in Web Editor NEWThe java version of Redux : a predictable state container for apps.
Home Page: https://github.com/jvm-redux/
License: MIT License
The java version of Redux : a predictable state container for apps.
Home Page: https://github.com/jvm-redux/
License: MIT License
In the TODO list example, you have to set the items in the adapter and call the notifyDataSetChanged method instead of one of the more specific methods (e.g. notifyItemRemoved). Note that when calling the more specific methods, it allows RecyclerView to actually perform the removal/addition/change/etc animations.
With all these unidirectional data-flow architectures, it seems they build the UI as a function of the state. I think that's a really enticing concept, but I can't see how something as simple as the issue mentioned above is supposed to work. Is there a way to fix this or is it just a limitation of the architecture?
Ideally the redux should not have any dependency. GSON have been used for convenience in the dev-tools during the early development phase but could be easily removed.
if a subscriber unregister itself while onStateChanged, some subscribers can't get notified
private void notifyStateChanged() {
for (int i = 0, size = subscribers.size(); i < size; i++) {
subscribers.get(i).onStateChanged();
}
}
should be
private void notifyStateChanged() {
for (int i = subscribers.size()-1; i >=0; i--) {
subscribers.get(i).onStateChanged();
}
}
Some ui bugs on Lollipop. It needs its own style.
Write a version of the todolist app with reducers written in Kotlin. Eventually, use https://github.com/andrewoma/dexx for persistant data structures.
What would be a motivation for such project? Which usecase would it address for someone? At the moment I can only think of Android clients that could potentially use this.
Would be nice to see such a motivation statement in readme file with explanation.
Thanks for awesome work.
You have done a great job, I think if you provide examples without dagger this repo will fly
Dagger will just add complexity to people how don't know about it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.