Comments (11)
I would like to release this as a separate module. This code is not as stable - I would like to keep developing the API's and develop it more internally first though. Maybe sometime next year though.
If you're really interested we could probably share it as a gist for now
from mavericks.
We are working on a new inter-module navigation system that can potentially be open sourced, it would be great to release if possible
from mavericks.
Here is an example of a system for loading Fragments: https://gist.github.com/elihart/74e465676ff6663729f52690661e37e0
It has a few MvRx specific things (like how arguments are handled), but for the most part stands alone from MvRx (which is why it's not part of this library).
This is an incomplete example, it assumes you have base classes for your fragment and activities which are not provided, but which you should be able to figure out easily enough
from mavericks.
Gist
would be great. Thanks @elihart for your work!
from mavericks.
From the comment above asking for this:
MvRxLauncher
is actively being added in another PR. it is already working and visible in that branch and will be released as an alpha release soonshowFragment/showModal
are not really anything. They are just functions to a base Fragment class that take a fragment as an argument and show it. The modal vs fragment thing is just a pattern we use to change the entry animation, but you can customize that however you want.- The navigation system I recently mentioned is not built yet. I can share a gist of the older
MvRxFragments
soon
from mavericks.
Hi, is there any update on this (module release and/or gist snippets)?
from mavericks.
@elihart Thank you for the quick response, I'm really looking forward to this! In the meantime a gist of an early version would be very appreciated.
from mavericks.
No updates yet, but still something we would like to do in the future
from mavericks.
@elihart is there anything still there that would be worth open sourcing as part of this issue?
from mavericks.
@elihart is there any update on this issue? Can we expect any update by March 2020?
from mavericks.
@elihart internally at Airbnb, will you keep this loading system for also refactor to Jetpack Navigation? #351
from mavericks.
Related Issues (20)
- Calling `mavericksActivityViewModel` in fragment, not working properly HOT 1
- Type com.airbnb.mvrx.AndroidStrictModeExtensionsKt is defined multiple times HOT 1
- possible incompatibility with Kotlin coroutines 1.7.0 HOT 2
- Using androidx.lifecycle:lifecycle-runtime-ktx:2.6.1 problems HOT 13
- Fail State call twice and make error HOT 2
- how to use stateflow in MavericksViewModel HOT 2
- How can I use MavericksView in a View or a Layout
- compare with mvc,mvp,mvvm HOT 2
- The viewModel() method may be missing the postInvalidate() logic. HOT 2
- Hilt and ViewModel initialization with Navigation Component arguments HOT 6
- Exploration of the correct way to update state with List<Data> in state HOT 1
- Ensure that your state properties properly implement hashCode. HOT 7
- I wanted to use the latest version of Epoxy, Mavericks, Paging3 (Epoxy Paging3), but couldn't find the Demo. Is it possible to combine all three?
- java.lang.SecurityException: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified
- java.lang.IllegalStateException HOT 1
- Value classes break State class no zero argument constructor usage HOT 1
- Discuss whenStarted function deprecation HOT 7
- I am using MavericksViewModel on Compose, I want to get the LifecycleOwner object in ViewModel how do I need to get this? HOT 3
- Crash when creating MavericksViewModel HOT 6
- Combining Mavericks with "custom" network response and error handling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mavericks.