A selection of Android widgets (views) to simplify development.
EasyViewPager | EasyRecyclerView | FlexTextView |
---|---|---|
A wrapper library for the ViewPager widget to simplify instantiation. | A wrapper library for the RecyclerView widget to simplify instantiation. | An adaptive text view widget focused on smooth animations between data changes and configurable truncation modes for long texts. |
This library includes the EasyViewPager module, designed to automate implementation of the ViewPagerAdapter, with other functionalities.
Android development environment with the jcenter repository added in the project's build.gradle file. A target SDK of 14 or higher.
repositories {
jcenter()
}
Add the following dependency in the app's build.gradle file:
dependencies {
compile 'net.scarlettsystems.android:widget:0.1.12'
}
If you are using ProGuard, add the following options to the module's proguard-rules.pro
file:
-dontwarn okhttp3.**
-dontwarn okio.**
See more: EasyViewPager Readme
A wrapper library for the ViewPager widget to simplify instantiation.
Create paged views quickly without the need to specify a Pager Adapter. A generic instance of the adapter is created and managed internally within the EasyViewPager instance. Adding and removing pages are facilitated by simple method calls on this instance, by passing in Views.
See more: EasyRecyclerView Readme
A wrapper library for the RecyclerView widget to simplify instantiation.
Hides the implementation of the RecyclerView Adapter and simplifies the initialisation process.
See more: FlexTextView Readme
An adaptive text view widget focused on smooth animations between data changes and configurable truncation modes for long texts.
FlexTextView offers different modes to truncate long sequences of texts including
- Collapsing mode where the view is collapsed to display a set number of lines and expanded by the user,
- Scrolling mode where the view is sized to display a set number of lines and the user can scroll through.
- Shane Scarlett - core development - Scarlett Systems
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 License