Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 1.76 KB | None | 0 0
  1.                     val l = if (TheApplication.data.cityList.size != 1)
  2.                         arrayListOf(
  3.                                 MenuListItemWithLabel("Город", city),
  4.                                 MenuListItemWithEmpty(),
  5.                                 MenuListItemWithLabel("Профиль", user),
  6.                                 MenuListItem("Мои адреса"),
  7.                                 MenuListItem("Мои карты"),
  8.                                 MenuListItem("Мои заказы"),
  9.                                 MenuListItemWithEmpty(),
  10.                                 MenuListItem("Обратная связь"),
  11.                                 MenuListItemWithEmpty(),
  12.                                 MenuListItem("Условия доставки"),
  13.                                 MenuListItem("О компании"),
  14.                                 MenuListItem("О приложении")
  15.                         )
  16.                     else {
  17.                         arrayListOf(
  18.                                 MenuListItemWithLabel("Профиль", user),
  19.                                 MenuListItem("Мои адреса"),
  20.                                 MenuListItem("Мои карты"),
  21.                                 MenuListItem("Мои заказы"),
  22.                                 MenuListItemWithEmpty(),
  23.                                 MenuListItem("Обратная связь"),
  24.                                 MenuListItemWithEmpty(),
  25.                                 MenuListItem("Условия доставки"),
  26.                                 MenuListItem("О компании"),
  27.                                 MenuListItem("О приложении")
  28.                         )
  29.                     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement