mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
refactor: hoist state out of UserProfile
Solves the issue of every pop of the backstack causing data to be re-fetched, but now has the issue of the data being stale for a few frames. Still better than the current state, so I'll take it.
This commit is contained in:
parent
5d65d1ea51
commit
0d3c08c10a
5 changed files with 76 additions and 34 deletions
|
@ -25,6 +25,8 @@ android {
|
|||
namespace = "dev.msfjarvis.claw.common"
|
||||
}
|
||||
|
||||
whetstone.addOns.compose = true
|
||||
|
||||
androidComponents { beforeVariants { (it as HasUnitTestBuilder).enableUnitTest = false } }
|
||||
|
||||
anvil { generateDaggerFactories.set(true) }
|
||||
|
@ -40,6 +42,7 @@ dependencies {
|
|||
api(libs.androidx.compose.ui)
|
||||
api(libs.dagger)
|
||||
api(libs.javax.inject)
|
||||
api(projects.api)
|
||||
api(projects.core)
|
||||
api(projects.database.core)
|
||||
api(projects.model)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue