Bitutorial

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.

License

License

Categories

Categories

ORM Data
GroupId

GroupId

com.cleveroad
ArtifactId

ArtifactId

splittransformation
Last Version

Last Version

0.9.0
Release Date

Release Date

Type

Type

aar
Description

Description

Bitutorial
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.
Project URL

Project URL

https://github.com/Cleveroad/Bitutorial
Source Code Management

Source Code Management

https://github.com/Cleveroad/Bitutorial

Download splittransformation

How to add to project

<!-- https://jarcasting.com/artifacts/com.cleveroad/splittransformation/ -->
<dependency>
    <groupId>com.cleveroad</groupId>
    <artifactId>splittransformation</artifactId>
    <version>0.9.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.cleveroad/splittransformation/
implementation 'com.cleveroad:splittransformation:0.9.0'
// https://jarcasting.com/artifacts/com.cleveroad/splittransformation/
implementation ("com.cleveroad:splittransformation:0.9.0")
'com.cleveroad:splittransformation:aar:0.9.0'
<dependency org="com.cleveroad" name="splittransformation" rev="0.9.0">
  <artifact name="splittransformation" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.cleveroad', module='splittransformation', version='0.9.0')
)
libraryDependencies += "com.cleveroad" % "splittransformation" % "0.9.0"
[com.cleveroad/splittransformation "0.9.0"]

Dependencies

compile (2)

Group / Artifact Type Version
com.android.support » gridlayout-v7 jar 23.4.0
com.android.support » appcompat-v7 jar 23.4.0

Project Modules

There are no modules declared in this project.

Bitutorial Awesome

Header image

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.

Demo image

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.

Article image

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

Awesome

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.
com.cleveroad

Cleveroad

Professional web and mobile development company. Full-cycle IT development!

Versions

Version
0.9.0