Skip to content

PLASMA-7142: Motion API was added in List and ListItem#768

Open
SerraMorec wants to merge 3 commits into
developfrom
feature/plasma-7142
Open

PLASMA-7142: Motion API was added in List and ListItem#768
SerraMorec wants to merge 3 commits into
developfrom
feature/plasma-7142

Conversation

@SerraMorec
Copy link
Copy Markdown
Collaborator

sdds-uikit-compose

List

  • В компонент добавлено motion API

ListItem

  • В компонент добавлено motion API

What/why changed

Для компонентов List и ListItem добавлены ListMotion, ListMotionStyle и ListItemMotion, ListItemMotionStyle, соответственно, с помощью которых можно настроить анимацию изменения параметров цвета и типографики.

@salutedevs
Copy link
Copy Markdown
Collaborator

salutedevs commented May 13, 2026

📦 Собранные Debug APK

📲 Как установить APK на Android-устройство:

  1. Распакуйте архив.
  2. Скопируйте нужный .apk на устройство (через USB, Telegram, Google Drive и т.д.).
  3. Откройте .apk на устройстве и подтвердите установку.
    Если потребуется, включите Разрешение на установку из неизвестных источников в настройках устройства.

💻 Установка через USB (ADB):

  1. Включите Отладку по USB на устройстве (Настройки → Для разработчиков).
  2. Подключите устройство к компьютеру по USB.
  3. Убедитесь, что устройство отображается:
    adb devices
  4. Установите .apk:
    adb install path/to/your.apk
    Если приложение уже установлено и нужно обновить:
    adb install -r path/to/your.apk

@salutedevs
Copy link
Copy Markdown
Collaborator

salutedevs commented May 13, 2026

@SerraMorec SerraMorec force-pushed the feature/plasma-7142 branch from bc0132a to fbd08f2 Compare May 14, 2026 04:27
Comment thread sdds-core/uikit-compose/src/main/kotlin/com/sdds/compose/uikit/List.kt Outdated
Comment thread sdds-core/uikit-compose/src/main/kotlin/com/sdds/compose/uikit/ListItemStyle.kt Outdated
@SerraMorec SerraMorec force-pushed the feature/plasma-7142 branch from fbd08f2 to 38abf2c Compare May 19, 2026 11:30
@SerraMorec SerraMorec force-pushed the feature/plasma-7142 branch from 38abf2c to a9abb49 Compare May 19, 2026 12:32
fun ListItem(
modifier: Modifier = Modifier,
motion: Motion<ListItemMotionStyle>,
titleContent: @Composable () -> Unit,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

обязательные параметры выше не обязательных

* @param disclosureContent контент в disclosure
*/
@Composable
@Deprecated("use ListItem with motion parameter")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

а зачем deprecate? юзерам не обязательно нужен motion

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.

4 participants