Marcello Galhardo

Results 16 issues of Marcello Galhardo

The following feature request is a proposal, and my idea is to open a discussion on how we can use the new `Lifecycle-2.5.0` and simplify the Koin ViewModel support. The...

android
type:contribution
type:feature-proposal
important 🔥
android:viewmodel

Add constructor DSL up to 22 parameters for: `new`, `singleOf`, `factoryOf`, `scopedOf`, `viewModelOf`, `workerOf`, `fragmentOf`. It also simplifies the constructor's internal implementation by inlining `withOptions` (if empty, the inlined `options`...

core
status:checking

**Is your feature request related to a problem? Please describe.** We can get inspired by Kotlin's Coroutines `@CoroutineDelicateApi`, and mark the APIs that can be potentially dangerous or should not...

core
status:checking
type:feature-proposal

Is there any plans to support Kotlin Multiplatform? It looks like a suitable approach (library) when building KMP projects. Thanks in advance.

enhancement

Version [2.5.0](https://developer.android.com/jetpack/androidx/releases/lifecycle#version_25_2) of Lifecycle introduces a new `CreationExtras` parameter which would allow us to provide better support for `SavedStateHandle` on Compose. What does that mean to Retained? In addition to...

enhancement

First interation for built-in compose support. Usage looks like the following: ```kotlin @Composable fun MyComposable() { val vm = retain { ViewModel() } } class ViewModel(val name: String = "")...

https://sfconservancy.org/news/2020/jun/23/gitbranchname/

enhancement

Retained has been stable for a long period of time, so we do not foresee any major API change. We already have GitHub Actions to ensure the quality of any...

Draft proposal to support package namespace with Quadrant. For discussion, check #5. When generating constants, Quadrant would respect the package namespace generating full qualified constant names: `com.gaelmarhic.quadrant.ModuleOneFirstActivity` -> `com_gaelmarhic_quadrant_ModuleTwoSecondActivity`. Now,...

Today when generating `QuadrantConstants`, `Quadrant` remove the namespace and create them using only the `Activity` name. For example: `com.gaelmarhic.quadrant.ModuleOneFirstActivity` -> `MODULE_ONE_SECOND_ACTIVITY`. Therefore, 2 activities living in different **packages** (in same...