Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about android-jetpack-compose-scaffold

Read more about android-jetpack-compose-scaffold

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - android-jetpack-compose-scaffold

How do I pass a function from a ViewModel to my scaffold's floating action button in Jetpack Compose?

I'm building an Android app using purely Jetpack Compose. My entire application is wrapped under one scaffold, and has a ViewModel for each "screen" (which are composables) in my app. Becaus...
test-img

sping

mvvm

android-jetpack-compose

android-viewmodel

dagger-hilt

android-jetpack-compose-scaffold

Votes: 0

Answers: 1

Latest Answer

I decided to just switch over to using a scaffold for every screen. Honestly, this makes managing routes a lot easier, because in the single scaffold scenario, it was getting difficult managing all of...
test-img

sping

Jetpack Compose collapse Bottom Sheet on outside click

I currently display a Bottom Sheet through a BottomSheetScaffold and want to collapse it when the user clicks outside the Bottom Sheet. Is there a way to detect the click outside of the Bottom Sheet? ...
test-img

JonasLevin

android

kotlin

android-jetpack-compose

bottom-sheet

android-jetpack-compose-scaffold

Votes: 0

Answers: 2

Latest Answer

You can add the pointerInput modifier with detectTapGestures to your Scaffold: Scaffold( modifier = Modifier.pointerInput(Unit) { detectTapGestures(onTap = { cor...
test-img

Gabriele Mariotti

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved