• Stars
    star
    203
  • Rank 192,890 (Top 4 %)
  • Language
    Java
  • Created almost 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Android实现了复杂表格,表格内容区域可以与上下滑动、左右滚动,并且标题会跟着滚动。

ComplexTable-Master

  • 这个项目实现了复杂表格,表格内容区域可以与上下滑动、左右滚动,并且标题会跟着滚动;
  • 另外表格还加入pullrefresh,支持刷新与加载更多。
  • Ps:基本是使用安卓原生控件,运行流畅,真实商务项目中使用;网上也找了不少实现这个功能的控件,但是有些不能实现刷新和加载更多,有些后台数据源要求不合适(比如一般一条记录包含了行标题和所有的列,而很多控件是拆分的)...

运行效果

思路图示

思路如下图,很清晰,主要是2个HorizontalScrollView的联动和一个垂直ScrollView携带2个ListView联动,详细的看代码哈!

联系我

如能荣幸给您带来帮助,可以请我喝杯咖啡支持一下我→ 微信orPaypal

Thanks

License

Copyright 2017 leafseelight

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.