Skip to content

BottomSheet changes#1

Open
lalka01 wants to merge 1 commit intocompose-startfrom
sprint-3-practice
Open

BottomSheet changes#1
lalka01 wants to merge 1 commit intocompose-startfrom
sprint-3-practice

Conversation

@lalka01
Copy link
Owner

@lalka01 lalka01 commented Nov 30, 2025

No description provided.

title = stringResource(R.string.filter_by_country_code),
items = CountryCode.COMMON_CODES,
selectedItems = selectedCodes,
onItemsSelected = { selected ->

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лямбду можно обернуть в remember, чтобы не пересоздавать объект при рекомпозициях:

Suggested change
onItemsSelected = { selected ->
onItemsSelected = remember { { selected ->

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants