GithubHelp home page GithubHelp logo

qingtingbannerview's Introduction

招人!!! 👋

极度缺人中,有没有想来一起写代码的

JeasonWong's github stats

qingtingbannerview's People

Contributors

d0n9x1n avatar hendrawd avatar jeasonwong avatar srtianxia 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qingtingbannerview's Issues

BannerView中滚动监听的问题

BannerView中ViewPager的滚动监听是add的,banner在RecyclerView或者listView中重新绑定数据的时候监听器会多次添加,导致指示器在刷新后显示会出错。先clean掉所有的监听器在add

请教回调方法中的判断逻辑代码

你好 请问一下回调方法中
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { bannerLine.setPageScrolled(position, positionOffset); if (positionOffsetPixels == 0.0) { if (position == entities.size() - 1) { bannerViewPager.setCurrentItem(1, false); } else if (position == 0) { bannerViewPager.setCurrentItem(entities.size() - 2, false); } else { bannerViewPager.setCurrentItem(position); } } }

else if (position == 0) { bannerViewPager.setCurrentItem(entities.size() - 2, false); }

删除这个判断代码,运行效果好像没看出不同呢,请指教~

How To Use on Click/Touch Listener With It??

How can i use onClickListener or onTouchListener with BannerView???
I have tried using the following but it only works for the first TextView

final TextView tv = (TextView) mBannerView.findViewById(R.id.tv_banner_title);
                        tv.setOnClickListener(new View.OnClickListener() {
                            @Override
                            public void onClick(View v) {
                                Toast.makeText(activity.getApplicationContext(), tv.getText(), Toast.LENGTH_SHORT).show();
                            }
                        });

How to remove bottom text?

I dive to the code directly to find any method to hide bottom text, but can't seem to find it. Is there any way to do it?

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.