/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
android/src/com/mapswithme/maps/promo/PromoEntity.java
36 строк
836 B
Александр Зацепин
[android] Migrated code to Android X
22 окт 2019, 15:11
22 окт 2019, 15:11
f2dd324
Код
Авторство
О чём код?
package com.mapswithme.maps.promo; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.mapswithme.maps.gallery.RegularAdapterStrategy; public class PromoEntity extends RegularAdapterStrategy.Item { @Nullable private final PromoCityGallery.LuxCategory mCategory; @NonNull private final String mImageUrl; public PromoEntity(int type, @NonNull String title, @Nullable String subtitle, @Nullable String url, @Nullable PromoCityGallery.LuxCategory category, @NonNull String imageUrl) { super(type, title, subtitle, url); mCategory = category; mImageUrl = imageUrl; } @Nullable public PromoCityGallery.LuxCategory getCategory() { return mCategory; } @NonNull public String getImageUrl() { return mImageUrl; } }