Code Monkey home page Code Monkey logo

bannerbutton's Introduction

BannerButton

中文说明

该项目是为了更简便的实现在viewpager中动态加载item,仅使用一个list就可以动态的去判断是否需要翻页。所以这个框架可以通过后台发送过来的数据来在手机上根据不同的用户,或者权限来显示不同的item,甚至可以动态的加载行列数。而非其他框架使用布局,将控件写死只能用来加载固定的布局。

结构介绍

在viewpager底部放置一个linearlayout,用来加载页签指示器。

viewpager里嵌套一个gradview,使用gridview来动态的加载item

English

The project is to achieve a more simple way to dynamic loading item in the view pager,using only a list can dynamically determine whether have many pages.

So this framework can be sent through the server to the phone according to different users,or permissions to show different item, even the lines and columns can be dynamic load.

Instead of using the layout of the other framework, the control to write dead can only be used to load the fixed layout.

structure

viewpager bottom put a linearlayout, for load the indicator

viewpager nest a gradview,use gridview dynamic loading item

bannerbutton's People

Stargazers

Simin avatar

Watchers

James Cloos avatar Flash avatar

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.