Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
E

excelPanel

> 编程语言
Open source

An Android's two-dimensional RecyclerView. Not only can load historical data, but also can load future data.

2.4K stars0 likes0 views
WebsiteGitHub

About

An Android's two-dimensional RecyclerView. Not only can load historical data, but also can load future data.

excelPanel

A two-dimensional RecyclerView. Not only can load historical data, but also can load future data.

Including in your project

compile 'cn.zhouchaoyuan:excelpanel:1.0.5'

Usage

1、Write in xml

<cn.zhouchaoyuan.excelpanel.ExcelPanel
        android:id="@+id/content_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:left_cell_width="@dimen/room_status_cell_length"
        app:normal_cell_width="@dimen/room_status_cell_length"
        app:top_cell_height="@dimen/room_status_cell_length" />

Configure using xml attributes


app:left_cell_width     //left header cell's width, not support wrap_content
app:normal_cell_width   //container cell's width, not support wrap_content
app:top_cell_height     //top header cell's height, not support wrap_content

2、Define your Custom Adapter

Your adapter must extends BaseExcelPanelAdapter and override seven methods show as follow:

…

3、Use your Adapter

…

If using setOnLoadMoreListener(...) and enableHeader() you must call addHistorySize(int) to tell ExcelPanel how many data have been added.

ChangeLog

  • V1.0.1--------------Line i can be different to line i+1, but the same line's height must be equals
  • V1.0.2--------------Support different viewType which using to config different row with different height
  • V1.0.3--------------Remove adjust height, fix bug when excelPanel in ViewPager
  • V1.0.4--------------Optimizing rolling
  • V1.0.5--------------addOnScrollListener

License


   Copyright 2017 zhouchaoyuan

   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.

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •V1.0.1--------------Line i can be different to line i+1, but the same line's height must be equals
  • •V1.0.2--------------Support different viewType which using to config different row with different height
  • •V1.0.3--------------Remove adjust height, fix bug when excelPanel in ViewPager
  • •V1.0.4--------------Optimizing rolling
  • •V1.0.5--------------addOnScrollListener

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言