TopGit theo dõi etsy/AndroidStaggeredGrid trên GitHub, đã đạt 4.7k sao. An Android staggered grid view which supports multiple columns with rows of varying sizes.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This library has been deprecated. We will no longer be shipping any updates or approving community pull requests for this project.
While the code will remain for anyone who wishes to use it, we suggest you prefer using Google's own RecyclerView with their StaggeredGridLayoutManager. We are doing the same internally at Etsy.
Thanks to everyone who used the library and submitted code or issues to improve it.
##About
An Android staggered grid view which supports multiple columns with rows of varying sizes.
The StaggeredGridView was developed due to requirements for the Etsy app not met by any existing Android libraries.
Namely a stable implementation with the ability to have a different number of columns in landscape & portrait,
to sync grid position across orientation changes and support for headers & footers.
##Features
Configurable column count for portrait and landscape orientations.
Sync'd row position across orientation changes.
Configurable item margin.
Support for headers & footers.
Internal padding that does not affect the header & footer.
Extends AbsListView - "mostly"
Supports AbsListView.OnScrollListener
##Setup
The library was built for and tested on Android version 2.3.3(SDK 10) and above. It could be modified to support older versions if required.
The simplest way to use AndroidStaggeredGrid is to add the library as a gradle aar dependency to your build. See the CHANGELOG.md for the latest version number.
NOTE:
As column widths change on orientation change, the grid view expects that all children
maintain their own width to height ratio. To assist with this the project includes the
DynamicHeightImageView as an example of a view that measures its height based on its width.
##TODO
The StaggeredGridView does not support the following:
Item selector drawables
Item long press event
Scroll bars
Row dividers
Edge effect
Fading edge
Overscroll
##License
Copyright (c) 2013 Etsy
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/etsy/AndroidStaggeredGrid là nguồn chính thức.
etsy/AndroidStaggeredGrid có những chủ đề gì?
GitHub topics của etsy/AndroidStaggeredGrid: "non-sox". TopGit xếp repo vào nhóm mã nguồn mở.
etsy/AndroidStaggeredGrid có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho etsy/AndroidStaggeredGrid. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
etsy/AndroidStaggeredGrid có trang demo không?
Dự án có trang chủ ở https://github.com/etsy/AndroidStaggeredGrid. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
etsy/AndroidStaggeredGrid còn đang phát triển không?
Commit gần nhất trên etsy/AndroidStaggeredGrid là 3.4 năm trước (theo timestamp GitHub). Repo có 1.1k fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc AndroidStaggeredGrid có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về AndroidStaggeredGrid.