Bitutorial


Source link: https://github.com/Cleveroad/Bitutorial

Bitutorial

Meet Crumbling tutorial for Android Apps by Cleveroad

Here comes a new Android library for those who are tired of old boring image sliding in mobile apps. Bitutorial is a simple way to add a unique transition between slides. Whether your application supports a sliding tutorial or image change feature, you certainly want to create a memorable experience.


Also you can watch the animation of the Crumbling tutorial for Android on YouTube in HD quality.

Try Bitutorial — an easy to use open-source library for the Android platform. The crumbling view of horizontal sliding creates elegant motion and all the elements (images, fonts) of the library are truly customizable, so it can fit an app of any kind.

Everything you may want to know about the library, its implementation and use cases is scetched in our blog post: Case Study: Crumbling Tutorial For Android by Cleveroad.


If you want to stand out from the crowd of similar apps, add this unusual view to your in-app transitions.


Setup and usage

To include this library to your project add dependency in build.gradle file:

 dependencies {

compile 'com.cleveroad:splittransformation:0.9.0'
  
}

Then you need to wrap your pager adapter with TransformationAdapterWrapper:

 TransformationAdapterWrapper wrapper = TransformationAdapterWrapper

.wrap(getContext(), adapter)

// rows x column = total number of pieces. Larger number of pieces impacts on performance.

.rows(...)

.columns(...)

// Maximum size of spacing between pieces.

.piecesSpacing(...)

// Translation for splited pieces.

.translationX(...)

.translationY(...)

// Add top margin for view. Preffer this method instead of setting margin to your view

// because transformer will split empty space into pieces too.

.marginTop(...)

// scale factor for generated bitmaps. Use this if you are facing any OOM issues.

.bitmapScale(...)

// If you're using complex views with dynamicaly changed content (like edit texts, lists, etc)

// you should provide your own complex view detector that will return true for such complex views.

// Every time user swipes pager, transformer will regenerate and split bitmap for view (at the start of swipe gesture)

// so make sure detector returns true only if view is a complex one.

.complexViewDetector(...)

// You can set your own factory that produces bitmap transformers. Default implementation: splitting view into pieces

.bitmapTransformerFactory(...)

.build();

Then pass this wrapper to your view pager.


## Changelog
Version Changes
v.0.9.0 First public release

## Support

If you have any other questions regarding the use of this library, please contact us for support at [email protected] (email subject: "Bitutorial. Support request.")


## License * * * The MIT License (MIT)
Copyright (c) 2016 Cleveroad Inc.  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 

Resources

KISS Tools for Android.

Basic utils classes for android development: BitmapUtil, BundleUtil, ClipboardUtil, DeviceUtil, DrawableUtil, FileUtil, JSONUtil, KeyboardUtil, LogUtil, MediaUtil, NetworkUtil, ResourceUtil, ZipUtil, etc.

Bounce Scroller is a library for Android platform that provides iOS-like bounce scroller effect and can also be used as pull-to-refresh.

Features:

  • Support all ViewGroups and almost all Views (except self-scrollable TextView).
  • Bounce-effect can be added to header and footer.
  • No need to specify custom wrappers.

Couchbase-Lite-Android is a lightweight embedded NoSQL database engine for Android with the built-in ability to sync to Couchbase Server on the backend.

It is the Android port of Couchbase Lite iOS.

Android Widget to show circular counters.

Grocery Sync for Couchbase Lite Android.

An example app that uses the Couchbase Lite Android mobile database framework.

Easy Rating Dialog provides a simple way to display an alert dialog for rating app.

Default conditions to show:

  • User opened the app more than 5 times
  • User opened the app after 7 days of first opening.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes