Found 1 match for pattern "mutableStateOf" in the workspace directory (filter: "app/src/main/java/com/servicebook/ui/vehicles/VehicleListScreen.kt"): --- File: app/src/main/java/com/servicebook/ui/vehicles/VehicleListScreen.kt L3- import androidx.compose.animation.AnimatedVisibility L4- import androidx.compose.animation.expandVertically L5- import androidx.compose.animation.fadeIn L6- import androidx.compose.animation.fadeOut L7- import androidx.compose.animation.shrinkVertically L8- import androidx.compose.foundation.background L9- import androidx.compose.foundation.layout.Box L10- import androidx.compose.foundation.layout.Column L11- import androidx.compose.foundation.layout.PaddingValues L12- import androidx.compose.foundation.layout.Row L13- import androidx.compose.foundation.layout.Spacer L14- import androidx.compose.foundation.layout.fillMaxSize L15- import androidx.compose.foundation.layout.fillMaxWidth L16- import androidx.compose.foundation.layout.height L17- import androidx.compose.foundation.layout.padding L18- import androidx.compose.foundation.layout.size L19- import androidx.compose.foundation.layout.width L20- import androidx.compose.foundation.lazy.LazyColumn L21- import androidx.compose.foundation.lazy.LazyListState L22- import androidx.compose.foundation.lazy.itemsIndexed L23- import androidx.compose.foundation.lazy.rememberLazyListState L24- import androidx.compose.foundation.shape.CircleShape L25- import androidx.compose.foundation.shape.RoundedCornerShape L26- import androidx.compose.material.icons.Icons L27- import androidx.compose.material.icons.filled.Add L28- import androidx.compose.material.icons.filled.Delete L29- import androidx.compose.material.icons.outlined.DirectionsCar L30- import androidx.compose.material.icons.outlined.Settings L31- import androidx.compose.material3.AlertDialog L32- import androidx.compose.material3.Card L33- import androidx.compose.material3.CardDefaults L34- import androidx.compose.material3.ExperimentalMaterial3Api L35- import androidx.compose.material3.ExtendedFloatingActionButton L36- import androidx.compose.material3.HorizontalDivider L37- import androidx.compose.material3.Icon L38- import androidx.compose.material3.IconButton L39- import androidx.compose.material3.LargeTopAppBar L40- import androidx.compose.material3.MaterialTheme L41- import androidx.compose.material3.SnackbarHostState L42- import androidx.compose.material3.SwipeToDismissBox L43- import androidx.compose.material3.SwipeToDismissBoxValue L44- import androidx.compose.material3.Text L45- import androidx.compose.material3.TextButton L46- import androidx.compose.material3.TopAppBarDefaults L47- import androidx.compose.material3.rememberSwipeToDismissBoxState L48- import androidx.compose.runtime.Composable L49- import androidx.compose.runtime.LaunchedEffect L50- import androidx.compose.runtime.derivedStateOf L51- import androidx.compose.runtime.getValue L52- import androidx.compose.runtime.mutableIntStateOf L53: import androidx.compose.runtime.mutableStateOf L54- import androidx.compose.runtime.remember L55- import androidx.compose.runtime.setValue L56- import androidx.compose.ui.Alignment L57- import androidx.compose.ui.Modifier L58- import androidx.compose.ui.graphics.Shape L59- import androidx.compose.ui.input.nestedscroll.nestedScroll L60- import androidx.compose.ui.platform.LocalContext L61- import androidx.compose.ui.platform.testTag L62- import androidx.compose.ui.res.stringResource L63- import androidx.compose.ui.semantics.Role L64- import androidx.compose.ui.semantics.role L65- import androidx.compose.ui.semantics.semantics L66- import androidx.compose.ui.semantics.stateDescription L67- import androidx.compose.ui.unit.dp L68- import androidx.lifecycle.compose.collectAsStateWithLifecycle L69- import androidx.lifecycle.viewmodel.compose.viewModel L70- import androidx.navigation3.runtime.NavBackStack L71- import androidx.navigation3.runtime.NavKey L72- import com.servicebook.R L73- import com.servicebook.ServiceBookApplication L74- import com.servicebook.ui.TestTags L75- import com.servicebook.ui.components.ConfirmDeleteDialog L76- import com.servicebook.ui.components.DismissablePendingDialog L77- import com.servicebook.ui.components.EmptyStateView L78- import com.servicebook.ui.components.ExpandablePrivacyDisclosure L79- import com.servicebook.ui.components.PaywallScaffold L80- import com.servicebook.ui.components.PaywallStatusCard L81- import com.servicebook.ui.components.PrivacyPolicyContent L82- import com.servicebook.ui.components.shimmerBrush L83- import com.servicebook.ui.navigation.AddVehicle L84- import com.servicebook.ui.navigation.Settings L85- import com.servicebook.ui.navigation.Setup L86- import com.servicebook.ui.navigation.VehicleDetail L87- import com.servicebook.ui.theme.appTopAppBarColors L88- import com.servicebook.ui.util.ViewModelFactory L89- L90- @Composable L91- private fun LazyListState.isScrollingUp(): Boolean { L92- var previousIndex by remember(this) { mutableIntStateOf(firstVisibleItemIndex) } L93- var previousScrollOffset by remember(this) { mutableIntStateOf(firstVisibleItemScrollOffset) } L94- return remember(this) { L95- derivedStateOf { L96- if (previousIndex != firstVisibleItemIndex) { L97- (previousIndex > firstVisibleItemIndex).also { previousIndex = firstVisibleItemIndex } L98- } else { L99- (previousScrollOffset >= firstVisibleItemScrollOffset).also { L100- previousScrollOffset = firstVisibleItemScrollOffset L101- } L102- } L103- } ---