Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val l = if (TheApplication.data.cityList.size != 1)
- arrayListOf(
- MenuListItemWithLabel("Город", city),
- MenuListItemWithEmpty(),
- MenuListItemWithLabel("Профиль", user),
- MenuListItem("Мои адреса"),
- MenuListItem("Мои карты"),
- MenuListItem("Мои заказы"),
- MenuListItemWithEmpty(),
- MenuListItem("Обратная связь"),
- MenuListItemWithEmpty(),
- MenuListItem("Условия доставки"),
- MenuListItem("О компании"),
- MenuListItem("О приложении")
- )
- else {
- arrayListOf(
- MenuListItemWithLabel("Профиль", user),
- MenuListItem("Мои адреса"),
- MenuListItem("Мои карты"),
- MenuListItem("Мои заказы"),
- MenuListItemWithEmpty(),
- MenuListItem("Обратная связь"),
- MenuListItemWithEmpty(),
- MenuListItem("Условия доставки"),
- MenuListItem("О компании"),
- MenuListItem("О приложении")
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement