smoothie alternatives and similar packages
Based on the "Utility" category.
Alternatively, view smoothie alternatives based on common mentions on social networks and blogs.
-
timber
A logger with a small, extensible API which provides utility on top of Android's normal Log class. -
ExpirableDiskLruCache
DISCONTINUED. Java implementation of a Disk-based LRU cache which specifically targets Android compatibility. -
Android-Templates-And-Utilities
Collection of source codes, utilities, templates and snippets for Android development. -
secure-preferences
DISCONTINUED. Android Shared preference wrapper than encrypts the values of Shared Preferences. It's not bullet proof security but rather a quick win for incrementally making your android app more secure. -
Androl4b
A Virtual Machine For Assessing Android applications, Reverse Engineering and Malware Analysis -
greenrobot-common
General purpose utilities and hash functions for Android and Java (aka java-common) -
vector-compat
A support library for VectorDrawable and AnimatedVectorDrawable classes introduced in Lollipop -
CastCompanionLibrary-android
DISCONTINUED. CastCompanionLibrary-android is a library project to enable developers integrate Cast capabilities into their applications faster and easier. -
motion
An Android library allowing images to exhibit a parallax effect that reacts to the device's tilt -
Colours
A beautiful set of predefined colors and a set of color methods to make your Android development life easier. -
Reservoir
DISCONTINUED. Android library to easily serialize and cache your objects to disk using key/value pairs.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of smoothie or a related project?
README
NOTE: Smoothie's API is not final yet. Although the library is fairly funcional, this is still beta-quality code. Do not rely on it for production code just yet. Feedback is very welcome!
What is it?
Smoothie provides a simple API to load ListView/GridView items asynchronously, off the UI thread.
Features
- Tiny API to implement asynchonous loading of items in Android's ListView and GridView.
- Multi-part item support: split the loading of each item into separate asynchronous operations with different global priorities.
- Tight integration between user interaction and async loading of items i.e. stops loading items on fling, enables loading when panning with finger down, etc.
- Prefetch items beyond the currently visible items to reduce the number of placeholder-type items while scrolling.
How do I use it?
Add Smoothie's jar as a dependency to your project.
Add an
AsyncListView
orAsyncGridView
to your layout.Implement an
SimpleItemLoader
. You're only required to override three methods:getItemParams()
,loadItem()
, anddisplayItem()
. You can override more methods if you want to handle loading items from memory, preloading items, resetting item views, etc.On Activity/Fragment creation, attach an
ItemManager
instance to your AsyncListView/AsyncGridView:
ItemManager.Builder builder = new ItemManager.Builder(yourItemLoader);
builder.setPreloadItemsEnabled(true).setPreloadItemsCount(5);
builder.setThreadPoolSize(4);
ItemManager itemManager = builder.build();
AsyncListView listView = (AsyncListView) findViewById(R.id.list);
listView.setItemManager(itemManager);
The sample app has an example of an ItemEngine powered by Android-BitmapCache that fades images in as they finish loading on a ListView.
The API docs contain a more detailed overview of the API.
Download
Grab via Maven:
<dependency>
<groupId>org.lucasr.smoothie</groupId>
<artifactId>smoothie</artifactId>
<version>0.1.0</version>
</dependency>
or Gradle:
compile 'org.lucasr.smoothie:smoothie:0.1.0'
Want to help?
File new issues to discuss specific aspects of the API and to propose new features.
License
Copyright 2012 Lucas Rocha
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.
*Note that all licence references and agreements mentioned in the smoothie README section above
are relevant to that project's source code only.