KO
|
EN
gitlite — search
Search
#python
#javascript
#typescript
#flutter
#react
#cpp
#dart
#library
#android
#docker
#ubuntu
#ios-swift
TableRecyclerView
★ 120
Open GitHub ↗
LayoutManager实现的复杂表格控件
Download README (.md)
Explore Similar Repositories
example-csharp
:
Codecov: C# example repository
Fue
:
F# templating library with simple syntax designed for smooth work with F# types.
kripton
:
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
hanzi-tools
:
Converts from Chinese characters to pinyin, between simplified and traditional, and does word segmentation.
ts-minify
:
A tool to aid minification of Typescript code, using Typescript's type information.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
TableRecyclerView
?
Download (.md)
# TableRecylerView [](https://jitpack.io/#HYY-yu/TableRecyclerView) [](https://travis-ci.org/HYY-yu/TableRecyclerView) --- LayoutManager实现的大表格控件, 初步实现效果,欢迎issues和fork ---  **自定义属性:** 名称|格式|介绍 ----|----|---- fixtable divider_color| format="color"| 表格分割线颜色 fixtable divider_height| format="dimension" |表格分割线高度 fixtable column-1_color" |format="color" |每隔一行就绘制此颜色作为行背景 fixtable column-2_color" |format="color" |每隔一行就绘制此颜色作为行背景 fixtable title_color" |format="color" |标题背景色 fixtable item_width" |format="dimension" | item 宽 如果item显示不全,加大此值 fixtable item-top-bottom_padding" |format="dimension" |可以控制item竖直方向的高度 fixtable item_gravity" |format="enum" |枚举值 LEFT CENTER RIGHT fixtable show-left-view_shadow"| format="boolean" |是否显示leftView的阴影 **使用** --- 在工程的build.gradle下添加: ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` 在项目的build.gradle下: ```compile 'com.github.HYY-yu:TableRecyclerView:v1.0.0'``` **示例代码** --- ``` // 一定要设置Adapter 否则看不到TableLayout final FixTableAdapter fixTableAdapter = new FixTableAdapter(title,data); fixTableLayout.setAdapter(fixTableAdapter); //LoadMoreData如果要打开 请在setAdapter之后 fixTableLayout.enableLoadMoreData(); ``` **todo** --- - [ ] 可定制leftView的列数 - [ ] 可自由修改表格中每列的宽度 - [x] 支持gradle的导入方式