bulletnoid / StaggeredGridView

A sweeter StaggeredGridView
139 stars 53 forks source link

StaggeredGridView

A sweeter StaggeredGridView

This widget is based on maurycyw/StaggeredGridView, which is a modification of Android's experimental StaggeredGridView: com.android.ex.widget.StaggeredGridView

This widget has fixed some of the major bugs and has some new features that you may be interested.

Suggestion

It is very helpful for you to use this widget in your app and understand the restriction in it if you had knowledge of how to create Android custom views; http://developer.android.com/guide/topics/ui/custom-components.html has good information about that;

Features

Restriction

Project structure

Project contains StaggeredGridView library, StaggeredGridView demo, modified PullToRefresh library to work with StaggeredGridView. In order to avoid some dependency problems, I add the libs into one project, but it is easy to retrieve the libs.

Usage

Please refer to the Demo of how to use the widget and use it with PullToRefresh.

Pictures in the demo are from Pinterest

License

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.