Clear the 'hiltViewModel(…)' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose. compile warnings (18 sites across the ui/** files), surfaced by the Gradle-warnings investigation.
Safe import swap — no dependency change. The old androidx.hilt.navigation.compose.hiltViewModelinline-delegates to the new androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel, and the new artifact (androidx.hilt:hilt-lifecycle-viewmodel-compose) is already transitively on the compile classpath via the pinned hilt-navigation-compose:1.3.0. Identical signatures → behaviour byte-for-byte identical.
Fix: in each affected file, swap import androidx.hilt.navigation.compose.hiltViewModel → import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel (ktlint reorders). Call sites (including the store-owner overload) are unchanged. Re-run preflight.
Clear the `'hiltViewModel(…)' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.` compile warnings (18 sites across the `ui/**` files), surfaced by the Gradle-warnings investigation.
**Safe import swap — no dependency change.** The old `androidx.hilt.navigation.compose.hiltViewModel` `inline`-delegates to the new `androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel`, and the new artifact (`androidx.hilt:hilt-lifecycle-viewmodel-compose`) is already transitively on the compile classpath via the pinned `hilt-navigation-compose:1.3.0`. Identical signatures → behaviour byte-for-byte identical.
**Fix:** in each affected file, swap `import androidx.hilt.navigation.compose.hiltViewModel` → `import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel` (ktlint reorders). Call sites (including the store-owner overload) are unchanged. Re-run preflight.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Clear the
'hiltViewModel(…)' is deprecated. Moved to package: androidx.hilt.lifecycle.viewmodel.compose.compile warnings (18 sites across theui/**files), surfaced by the Gradle-warnings investigation.Safe import swap — no dependency change. The old
androidx.hilt.navigation.compose.hiltViewModelinline-delegates to the newandroidx.hilt.lifecycle.viewmodel.compose.hiltViewModel, and the new artifact (androidx.hilt:hilt-lifecycle-viewmodel-compose) is already transitively on the compile classpath via the pinnedhilt-navigation-compose:1.3.0. Identical signatures → behaviour byte-for-byte identical.Fix: in each affected file, swap
import androidx.hilt.navigation.compose.hiltViewModel→import androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel(ktlint reorders). Call sites (including the store-owner overload) are unchanged. Re-run preflight.