Commit afa6870ebe981a2c888e4484f8b7bb5100ba8d90
1 parent
86d32fce
1.Html广告展示优化
2.SDK版本更新
Showing
4 changed files
with
6 additions
and
4 deletions
.idea/misc.xml
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | 2 | <project version="4"> |
| 3 | - <component name="EntryPointsManager"> | |
| 4 | - <entry_points version="2.0" /> | |
| 5 | - </component> | |
| 6 | 3 | <component name="NullableNotNullManager"> |
| 7 | 4 | <option name="myDefaultNullable" value="android.support.annotation.Nullable" /> |
| 8 | 5 | <option name="myDefaultNotNull" value="android.support.annotation.NonNull" /> | ... | ... |
app/build.gradle
app/src/main/java/cn/vlion/simple/NativeActivity.java
| 1 | 1 | package cn.vlion.simple; |
| 2 | 2 | |
| 3 | +import android.content.Intent; | |
| 3 | 4 | import android.os.Bundle; |
| 4 | 5 | import android.support.annotation.Nullable; |
| 5 | 6 | import android.support.v7.app.AppCompatActivity; |
| ... | ... | @@ -16,6 +17,7 @@ import cn.vlion.ad.moudle.natives.model.NativeCarouselData; |
| 16 | 17 | import cn.vlion.ad.moudle.natives.model.NativeFeedsData; |
| 17 | 18 | import cn.vlion.ad.moudle.natives.model.NativeNewsData; |
| 18 | 19 | import cn.vlion.ad.moudle.natives.model.NativeWaterfallData; |
| 20 | +import cn.vlion.ad.view.webview.VLionWebViewActivity; | |
| 19 | 21 | |
| 20 | 22 | /** |
| 21 | 23 | * Created by xiansong on 2017/10/14. |
| ... | ... | @@ -55,6 +57,9 @@ public class NativeActivity extends AppCompatActivity { |
| 55 | 57 | NativeManager.getInstance().requestCarousel(this, adId_Carousel, new NativeListener<NativeCarouselData>() { |
| 56 | 58 | @Override |
| 57 | 59 | public void onRequestSuccess(NativeCarouselData data) { |
| 60 | + Intent intent = new Intent(NativeActivity.this, VLionWebViewActivity.class); | |
| 61 | + intent.putExtra("ldp", data.getNativead().getLdp()); | |
| 62 | + startActivity(intent); | |
| 58 | 63 | Log.e("DemoView", "数据获取成功 " + new Gson().toJson(data)); |
| 59 | 64 | Toast.makeText(NativeActivity.this, "数据获取成功 " + new Gson().toJson(data), Toast.LENGTH_SHORT).show(); |
| 60 | 65 | } | ... | ... |
lib/vlion-ad-1.1.1.jar renamed to lib/vlion-ad-1.1.2.jar
No preview for this file type