Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Zatsepin <az@mapswithme.com>2018-07-13 14:43:42 +0300
committerVlad Mihaylenko <vxmihaylenko@gmail.com>2018-07-20 14:51:41 +0300
commit4caeaca2be56a082bfdb61eac39f10a6429f9c2f (patch)
tree2a20079b70192a87903cfb6322b8e141659ca5ea /android/src/com/mapswithme/maps/ads/NetworkType.java
parent73501ccc2db604b44a0538b085b0389e0a95fac8 (diff)
[android] Added Mopub_google network type to distinguish google ad coming from mopub in UI
[android] Refactored ad abstractions locations, i.e. move all our public interfaces back to our package from mopub
Diffstat (limited to 'android/src/com/mapswithme/maps/ads/NetworkType.java')
-rw-r--r--android/src/com/mapswithme/maps/ads/NetworkType.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/ads/NetworkType.java b/android/src/com/mapswithme/maps/ads/NetworkType.java
new file mode 100644
index 0000000000..b72c989d31
--- /dev/null
+++ b/android/src/com/mapswithme/maps/ads/NetworkType.java
@@ -0,0 +1,16 @@
+package com.mapswithme.maps.ads;
+
+import android.support.annotation.LayoutRes;
+
+import com.mapswithme.maps.R;
+
+public enum NetworkType
+{
+ FACEBOOK, GOOGLE, MOPUB, MOPUB_GOOGLE, MYTARGET;
+
+ @LayoutRes
+ public int getLayoutId()
+ {
+ return R.layout.place_page_banner;
+ }
+}