Giter Site home page Giter Site logo

jiuwu0905 / recycleritemdecoration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from happylishang/recycleritemdecoration

0.0 0.0 0.0 23.33 MB

通用ItemDecoration,线性及GrideView类型,均分适合九宫格等,以及全展开的RecyclerView,全展开的RecyclerView适用于内嵌到ScrollView等需要滚动场景

Java 100.00%

recycleritemdecoration's Introduction

RecyclerItemDecoration

recyclerView使用的一些辅助类

比如实现九宫格呢或者全部展开的List等:关键类LinearItemDecorationration、GridLayoutItemDecoration、FullyGridLayoutManager、FullLinearlayoutManager

#使用全展开的recyclerview时注意,不要获取焦点,防止自动滚动

  mRecyclerView.setFocusable(false);

     mRecyclerView.setNestedScrollingEnabled(false);(根据需求灵活使用)

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.