Code Monkey home page Code Monkey logo

Comments (6)

angcyo avatar angcyo commented on July 30, 2024

from dsltablayout.

angcyo avatar angcyo commented on July 30, 2024

提供设计图, 提供需求, 我可以写个示例.

from dsltablayout.

Rethen avatar Rethen commented on July 30, 2024

提供设计图, 提供需求, 我可以写个示例.

我也想问动态添加tab

from dsltablayout.

Rethen avatar Rethen commented on July 30, 2024

image

红色区域的是根据服务端返回的数据动态添加的

from dsltablayout.

angcyo avatar angcyo commented on July 30, 2024

动态添加item, 直接使用addView即可.

参考代码: https://github.com/angcyo/DslTabLayout/blob/master/Sample/src/main/java/com/angcyo/dsltablayout/demo/DynamicActivity.kt

from dsltablayout.

angcyo avatar angcyo commented on July 30, 2024

3.0.1 支持动态滑动改变指示器颜色

参考代码(212)行开始:
https://github.com/angcyo/DslTabLayout/blob/master/Sample/src/main/java/com/angcyo/dsltablayout/demo/SlidingFragment.kt

from dsltablayout.

Related Issues (20)

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.