Circular List Adapter is now part of an even more awesome Adapter Kit project!
Circular list adapter for Android's ListView. This adapter makes your existing list adapter appear circular and possibly infinite unless you scroll down through two billion list items ;). Works with list adapters that you already have. No project specific dependencies. Just include the latest jar or the sources to your Android project.
- From finite to infinite list items with just a single argument constructor.
- Android 1.6 and up
// 1. Wrap your existing adapter with the CircularListAdapter
CircularListAdapter circularAdapter = new CircularListAdapter(yourAdapter);
// 2. Set the adapter to your ListView
listView.setAdapter(circularAdapter);
Also you can check a complete example for a quick start. The sources have a few more examples as well.
The fabulous spectrum background was downloaded from TECHSTARTD
Copyright 2012 Mobs and Geeks
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.