• 大小: 3.23M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-23
  • 语言: Java
  • 标签: 图片轮播  滑动  demo  

资源简介

图片轮播,可自动化轮播,也可滑动

资源截图

代码片段和文件信息

package cn.bingoogolapple.bgabanner.demo;

import android.app.Application;

import cn.bingoogolapple.bgabanner.demo.engine.Engine;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * 作者:王浩 邮件:bingoogolapple@gmail.com
 * 创建时间:15/6/21 下午10:13
 * 描述:
 */
public class App extends Application {
    private static App sInstance;
    private Engine mEngine;

    @Override
    public void onCreate() {
        super.onCreate();

        sInstance = this;
        mEngine = new Retrofit.Builder()
                .baseUrl(“http://7xk9dj.com1.z0.glb.clouddn.com/banner/api/“)
                .addConverterFactory(GsonConverterFactory.create())
                .build().create(Engine.class);
    }


    public static App getInstance() {
        return sInstance;
    }


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-07-12 08:06  BGABanner-Android-master\
     文件         458  2016-07-12 08:06  BGABanner-Android-master\.gitignore
     文件        7973  2016-07-12 08:06  BGABanner-Android-master\README.md
     文件         437  2016-07-12 08:06  BGABanner-Android-master\build.gradle
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\
     文件        1039  2016-07-12 08:06  BGABanner-Android-master\demo\build.gradle
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\
     文件        1040  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\AndroidManifest.xml
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\
     文件         891  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\App.java
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\engine\
     文件         436  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\engine\Engine.java
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\model\
     文件         265  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\model\BannerModel.java
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\ui\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\ui\activity\
     文件        4470  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\ui\activity\GuideActivity.java
     文件        6702  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\java\cn\bingoogolapple\bgabanner\demo\ui\activity\MainActivity.java
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-hdpi\
     文件      332294  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-hdpi\holder.png
     文件         891  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-hdpi\ic_launcher.png
     文件         544  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-hdpi\point_focused.png
     文件         542  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-hdpi\point_unfocused.png
     目录           0  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-mdpi\
     文件         636  2016-07-12 08:06  BGABanner-Android-master\demo\src\main\res\drawable-mdpi\ic_launcher.png
............此处省略70个文件信息

评论

共有 条评论