- 这个项目实现了复杂表格,表格内容区域可以与上下滑动、左右滚动,并且标题会跟着滚动;
- 另外表格还加入pullrefresh,支持刷新与加载更多。
- Ps:基本是使用安卓原生控件,运行流畅,真实商务项目中使用;网上也找了不少实现这个功能的控件,但是有些不能实现刷新和加载更多,有些后台数据源要求不合适(比如一般一条记录包含了行标题和所有的列,而很多控件是拆分的)...
思路如下图,很清晰,主要是2个HorizontalScrollView的联动和一个垂直ScrollView携带2个ListView联动,详细的看代码哈!
- 新浪微博:@淡墨沁心
- Email:[email protected]
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.