blob: 7edb031624cb7c3feb9d34755c3312f4e00648d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
package com.mapswithme.maps.promo;
import android.support.annotation.NonNull;
import android.support.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;
}
}
|