awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
hongyangAndroid avatar

hongyangAndroid/FlowLayout

0
View on GitHub↗
5,579 星标·1,165 分支·Java·Apache-2.0·6 次浏览

FlowLayout

FlowLayout 是一个自定义 Android 视图小部件,旨在将子元素换行显示在多行上。它作为一个基于适配器的布局,从数据源填充和更新流式内容,专门用于显示标签或芯片集合。

该组件包括一个标签选择系统,支持具有可配置限制的单选或多选模式。它通过标签点击处理来管理用户交互,并包含一个状态管理器,以在 Activity 重建和屏幕旋转期间持久化选择索引。

该库提供了动态数据填充和自动布局测量功能,以确保元素根据可用的水平屏幕空间正确换行。

Features

  • Custom Layouts - Provides a custom layout manager that calculates child positions to wrap elements across multiple lines.
  • Tag and Flow Layouts - Provides a specialized flow layout for displaying and wrapping collections of tags or chips.
  • Android UI Components - Develops reusable custom view containers for Android that handle dynamic content and tag interactions.
  • Adapter-Based Layouts - Uses an adapter pattern to dynamically populate and update flowing content from a data source.
  • Adapter-Based View Generation - Populates the flowing layout with dynamic data using a custom adapter to generate child views.
  • Adapter Based Mappings - Implements an adapter pattern to dynamically map a data source to view holders for flowing content.
  • Flow Layouts - Allows child views to wrap automatically across multiple lines when horizontal screen width is exceeded.
  • Selection Logic - Manages single or multiple item selection states for tags through a central controller.
  • Multi-Select Tag Groups - Ships a selectable UI component for Android that manages single and multiple tag selection modes.
  • View Dimension Measurement - Determines child layout bounds during the measurement phase to ensure correct wrapping based on parent constraints.
  • Screen State Managers - Persists tag selection states across activity reconstruction and screen rotations to maintain UI state.
  • Configuration Change Persistence - Maintains selected item indices during Android activity rotations and configuration changes.
  • Selection State Persistence - Saves and restores the current selection of items during activity reconstruction to prevent data loss.
  • Layout Managers - Flow layout implementation.

Star 历史

hongyangandroid/flowlayout 的 Star 历史图表hongyangandroid/flowlayout 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

FlowLayout 的开源替代方案

相似的开源项目,按与 FlowLayout 的功能重合度排序。
  • xuexiangjys/xuixuexiangjys 的头像

    xuexiangjys/XUI

    5,075在 GitHub 上查看↗

    XUI is a native Android UI framework and component library designed for building application interfaces. It provides a comprehensive suite of native layouts, input fields, and navigation elements, supported by a tiered theme management system for defining global visual attributes and responsive styles. The framework distinguishes itself through a specialized set of custom views and interaction toolkits, including high-performance calendars, data visualization rendering, and a variety of stylized buttons with integrated timers and visual effects. It also includes integrated media processing ca

    Javaandroidandroid-uistyles
    在 GitHub 上查看↗5,075
  • dingmouren/layoutmanagergroupDingMouRen 的头像

    DingMouRen/LayoutManagerGroup

    4,976在 GitHub 上查看↗

    LayoutManagerGroup is a library of custom layout managers for Android RecyclerViews. It serves as a custom list layout engine and a set of UI components designed to control how items are positioned and scrolled within a mobile interface. The project provides a mechanism for defining non-standard item placements and scrolling behaviors. It allows for the creation of specialized grid and list arrangements that deviate from standard layouts to achieve specific visual configurations. The engine handles the spatial positioning of items through coordinate-based placement and orientation-aware logi

    Java
    在 GitHub 上查看↗4,976
  • gabrielemariotti/cardslibgabrielemariotti 的头像

    gabrielemariotti/cardslib

    4,618在 GitHub 上查看↗

    cardslib is an Android UI component library and card layout framework. It provides a set of specialized adapters and views designed as an extension for high-performance card rendering within recycling lists. The library distinguishes itself through a reorderable list implementation that supports drag-and-drop item rearrangement and nested content hierarchies. It also includes an interaction system for managing directional swipe constraints and a customizable undo action notification bar. The framework covers a broad range of card-based interface capabilities, including the composition of vis

    Java
    在 GitHub 上查看↗4,618
  • xrecyclerview/xrecyclerviewXRecyclerView 的头像

    XRecyclerView/XRecyclerView

    5,301在 GitHub 上查看↗

    XRecyclerView is an Android list component and extension library that adds pull-to-refresh and infinite scrolling behaviors to a standard RecyclerView. It serves as a scrollable mobile UI element designed to manage data-driven lists with support for dynamic headers and footers. The library provides a gesture-based interface for triggering content reloading via a pull-to-refresh widget and implements a mechanism for triggering data fetch callbacks when a user reaches the bottom of a list to enable infinite scrolling. It further supports dynamic list header management and the implementation of

    Javacustom-viewfeatrueload-more
    在 GitHub 上查看↗5,301
查看 FlowLayout 的所有 30 个替代方案→

常见问题解答

hongyangandroid/flowlayout 是做什么的?

FlowLayout 是一个自定义 Android 视图小部件,旨在将子元素换行显示在多行上。它作为一个基于适配器的布局,从数据源填充和更新流式内容,专门用于显示标签或芯片集合。

hongyangandroid/flowlayout 的主要功能有哪些?

hongyangandroid/flowlayout 的主要功能包括:Custom Layouts, Tag and Flow Layouts, Android UI Components, Adapter-Based Layouts, Adapter-Based View Generation, Adapter Based Mappings, Flow Layouts, Selection Logic。

hongyangandroid/flowlayout 有哪些开源替代品?

hongyangandroid/flowlayout 的开源替代品包括: xuexiangjys/xui — XUI is a native Android UI framework and component library designed for building application interfaces. It provides a… dingmouren/layoutmanagergroup — LayoutManagerGroup is a library of custom layout managers for Android RecyclerViews. It serves as a custom list layout… gabrielemariotti/cardslib — cardslib is an Android UI component library and card layout framework. It provides a set of specialized adapters and… xrecyclerview/xrecyclerview — XRecyclerView is an Android list component and extension library that adds pull-to-refresh and infinite scrolling… jakewharton/viewpagerindicator — ViewPagerIndicator is a set of reusable Android UI components designed to synchronize visual paging indicators with… tommylemon/android-zblibrary — Android-ZBLibrary is a mobile framework providing core primitives for Android development, including a…