Giter Site home page Giter Site logo

android-loopview's Introduction

android-loopview's People

Contributors

wenkaizhou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

android-loopview's Issues

新版本卡住ANR

换了 1.3.1新版本后,自定义view,加载数据 setData 直接卡死,最后anr退出,然而并没有什么日志信息可以参考

顺便提几个小问题

别嫌我烦啊

  1. declare-styleable 声明的是 loop_layout ,而 readme 里示例用的是 loop_layoutId;
    2.自定义布局时 loop_view_dots 没有设置左边距,布局居中时容易看出来;
    3.建议把 xmlns:kevin="http://schemas.android.com/apk/res-auto" 这句注明,AS的alt+enter有时会提示补全 xmlns:kevin="http://schemas.android.com/tools" 导致设置无效,我一个不小心也掉坑里了...

OOM在三星的noteII上挺多的

java.lang.OutOfMemoryError
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:627)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:603)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:378)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:407)
at com.kevin.loopview.internal.loopimage.LoopImageCache.getBitmapFromDisk(LoopImageCache.java:146)
at com.kevin.loopview.internal.loopimage.LoopImageCache.get(LoopImageCache.java:55)
at com.kevin.loopview.internal.loopimage.LoopImage.getBitmap(LoopImage.java:44)
at com.kevin.loopview.internal.loopimage.LoopImageTask.run(LoopImageTask.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)

关于图片切换速度问题

作者您好:我在代码中这样设置 bannerView.setScrollDuration(3000); 但是图片的切换速度没有变化,能解答一下吗?

内部Support包 版本不一致

implementation "com.kevin:loopview:1.4.3"
这个东西里面有 23.3.0 的 support v4

跟其他的 appcompatv7 recyclerview cardView 之类的版本不一致 冲突了

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.