💳 A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

Overview

New in the EasyFlipView  The article on how this library was created is now published. You can read it on this link here. →.

💳 EasyFlipView

Codacy Badge Build Status Download Android Arsenal API Say Thanks!

Built with ❤︎ by Wajahat Karim and contributors

A quick and easy flip view through which you can create views with two sides like credit cards, poker cards etc.

✔️ Changelog

Changes exist in the releases tab.

💻 Installation

Add this in your app's build.gradle file:

dependencies {
  implementation 'com.wajahatkarim3.EasyFlipView:EasyFlipView:3.0.0'
}

New in the EasyFlipView From the version 3.0.0, this library will only support Android X naming artifacts. If you want to use the android.support versions, then use 2.1.2 version.

Or add EasyFlipView as a new dependency inside your pom.xml

<dependency> 
  <groupId>com.wajahatkarim3.EasyFlipView</groupId>
  <artifactId>EasyFlipView</artifactId> 
  <version>3.0.0</version>
  <type>pom</type> 
</dependency>

Usage

XML

EasyFlipView In XML layouts("Vertical")

<com.wajahatkarim3.easyflipview.EasyFlipView
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	app:flipOnTouch="true"
	app:flipEnabled="true"
	app:flipDuration="400"
	app:flipType="vertical"
	app:flipFrom="front"
	app:autoFlipBack="true"
	app:autoFlipBackTime="1000"
	>

	<!-- Back Layout Goes Here -->
	<include layout="@layout/flash_card_layout_back"/>
        
	<!-- Front Layout Goes Here -->
	<include layout="@layout/flash_card_layout_front"/>

</com.wajahatkarim3.easyflipview.EasyFlipView>

EasyFlipView In XML layouts("Horizontal")

<com.wajahatkarim3.easyflipview.EasyFlipView
	android:layout_width="match_parent"
	android:layout_height="wrap_content"
	app:flipOnTouch="true"
	app:flipEnabled="true"
	app:flipDuration="400"
	app:flipFrom="right"
	app:flipType="horizontal"
	app:autoFlipBack="false"
	>

	<!-- Back Layout Goes Here -->
	<include layout="@layout/flash_card_layout_back"/>

	<!-- Front Layout Goes Here -->
	<include layout="@layout/flash_card_layout_front"/>

</com.wajahatkarim3.easyflipview.EasyFlipView>

🎨 Customizations & Attributes

All customizable attributes for EasyFlipView

Attribute Name Default Value Description
app:flipOnTouch="true" true Whether card should be flipped on touch or not.
app:flipDuration="400" 400 The duration of flip animation in milliseconds.
app:flipEnabled="true" true If this is set to false, then it won't flip ever in Single View and it has to be always false for RecyclerView
app:flipType="horizontal" vertical Whether card should flip in vertical or horizontal
app:flipType="horizontal" vertical Whether card should flip in vertical or horizontal
app:flipFrom="right" app:flipFrom="back" left front Whether card should flip from left to right Or right to left(Horizontal type) or car should flip to front or back(Vertical type)
app:autoFlipBack="true" false If this is set to true, then he card will be flipped back to original front side after the time set in autoFlipBackTime.
app:autoFlipBackTime="1000" 1000 The time in milliseconds (ms), after the card will be flipped back to original front side.

In Code (Java)

// Flips the view with or without animation
mYourFlipView.flipTheView();
mYourFlipView.flipTheView(false);

// Sets and Gets the Flip Animation Duration in milliseconds (Default is 400 ms)
mYourFlipView.setFlipDuration(1000);
int dur = mYourFlipView.getFlipDuration();

// Sets and gets the flip enable status (Default is true)
mYourFlipView.setFlipEnabled(false);
boolean flipStatus = mYourFlipView.isFlipEnabled();

// Sets and gets the flip on touch status (Default is true)
mYourFlipView.setFlipOntouch(false);
boolean flipTouchStatus = mYourFlipView.isFlipOnTouch();

// Get current flip state in enum (FlipState.FRONT_SIDE or FlipState.BACK_SIDE)
EasyFlipView.FlipState flipSide = mYourFlipView.getCurrentFlipState();

// Get whether front/back side of flip is visible or not.
boolean frontVal = mYourFlipView.isFrontSide();
boolean backVal = mYourFlipView.isBackSide();

// Get/Set the FlipType to FlipType.Horizontal
boolean isHorizontal = mYourFlipView.isHorizontalType();
mYourFlipView.setToHorizontalType();

// Get/Set the FlipType to FlipType.Vertical
boolean isVertical = mYourFlipView.isVerticalType();
mYourFlipView.setToVerticalType();

// Get/Set if the auto flip back is enabled
boolean isAutoFlipBackEnabled = mYourFlipView.isAutoFlipBack();
mYourFlipView.setAutoFlipBack(true);

// Get/Set the time in milliseconds (ms) after the view is auto flip back to original front side
int autoflipBackTimeInMilliseconds = mYourFlipView.getAutoFlipBackTime();
mYourFlipView.setAutoFlipBackTime(2000);

// Sets the animation direction from left (horizontal) and back (vertical)
easyFlipView.setFlipTypeFromLeft();

// Sets the animation direction from right (horizontal) and front (vertical)
easyFlipView.setFlipTypeFromRight();

// Sets the animation direction from front (vertical) and right (horizontal)
easyFlipView.setFlipTypeFromFront();

// Sets the animation direction from back (vertical) and left (horizontal)
easyFlipView.setFlipTypeFromBack();

// Returns the flip type from direction. For horizontal, it will be either right or left and for vertical, it will be front or back.
easyFlipView.getFlipTypeFrom();

Flip Animation Listener

EasyFlipView easyFlipView = (EasyFlipView) findViewById(R.id.easyFlipView);
easyFlipView.setOnFlipListener(new EasyFlipView.OnFlipAnimationListener() {
            @Override
            public void onViewFlipCompleted(EasyFlipView flipView, EasyFlipView.FlipState newCurrentSide) 
            {
                
                // ...
                // Your code goes here
                // ...
                
            }
        });

Known Issues

The EasyFlipView doesn't flip when used in RecyclerView. This is because the EasyFlipView uses the onTouch() method to intercept the touch events and flip the view accordingly. One easier solution is to disable the flipOnTouch attribute in XML by this.

app:flipOnTouch="false"

Now, your RecyclerView will scroll but the EasyFlipView will not flip or animate on touch etc. You will have to manually flip the view by calling the method mYourFlipView.flipTheView() inside the adapter or ViewHolder class of the RecyclerView. For example,

public class MyRecyclerViewAdapter extends RecyclerView.Adapter<MyRecyclerViewAdapter.ViewHolder> {

    private List<Object> mData;
    private LayoutInflater mInflater;
    private ItemClickListener mClickListener;

    // data is passed into the constructor
    MyRecyclerViewAdapter(Context context, List<Object> data) {
        this.mInflater = LayoutInflater.from(context);
        this.mData = data;
    }

    // inflates the row layout from xml when needed
    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = mInflater.inflate(R.layout.recyclerview_row, parent, false);
        return new ViewHolder(view);
    }

    // binds the data to the TextView in each row
    @Override
    public void onBindViewHolder(ViewHolder holder, int position) {
        String textData = (String) mData.get(position);
        holder.myTextView.setText(textData);
    }

    // total number of rows
    @Override
    public int getItemCount() {
        return mData.size();
    }


    // stores and recycles views as they are scrolled off screen
    public class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener {
        TextView myTextView;
	EasyFlipView myEasyFlipView;

        ViewHolder(View itemView) {
            super(itemView);
            myTextView = itemView.findViewById(R.id.tvAnimalName);
	    myEasyFlipView = itemView.findViewById(R.id.myEasyFlipView);
            itemView.setOnClickListener(this);
        }

        @Override
        public void onClick(View view) {
	    myEasyFlipView.flipTheView();
            if (mClickListener != null) {
	    	mClickListener.onItemClick(view, getAdapterPosition());
	    }
        }
    }

    // convenience method for getting data at click position
    String getItem(int id) {
        return mData.get(id);
    }

    // allows clicks events to be caught
    void setClickListener(ItemClickListener itemClickListener) {
        this.mClickListener = itemClickListener;
    }

    // parent activity will implement this method to respond to click events
    public interface ItemClickListener {
        void onItemClick(View view, int position);
    }
}

The EasyFlipView has a strange behaviour when the back and front layouts are a CardView. To workaround it, wrap your CardView in a FrameLayout or other ViewGroup.

💰 Donations

This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!

PayPal

  • Donate $5: Thank's for creating this project, here's a tea (or some juice) for you!
  • Donate $10: Wow, I am stunned. Let me take you to the movies!
  • Donate $15: I really appreciate your work, let's grab some lunch!
  • Donate $25: That's some awesome stuff you did right there, dinner is on me!
  • Donate $50: I really really want to support this project, great job!
  • Donate $100: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!
  • Donate $2799: Go buddy, buy Macbook Pro for yourself!

Of course, you can also choose what you want to donate, all donations are awesome!

👨 Developed By

Wajahat Karim

💖 Special Thanks

👍 How to Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

📃 License

Copyright 2018 Wajahat Karim

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.
Comments
  • Artifacts appearing on flipping

    Artifacts appearing on flipping

    The best to see for yourself https://youtu.be/CSgVNxgrKIY

    the code:

    <?xml version="1.0" encoding="utf-8"?>
    <com.wajahatkarim3.easyflipview.EasyFlipView xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/flipper"
        android:layout_width="match_parent"
        android:layout_height="200dp"
        app:flipOnTouch="true"
        app:flipEnabled="true"
        app:flipDuration="400"
        app:flipType="horizontal"
        >
    
        <android.support.v7.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="16dp">
    
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Front"
                android:textAppearance="@style/TextAppearance.AppCompat.Large" />
    
        </android.support.v7.widget.CardView>
    
        <android.support.v7.widget.CardView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="16dp">
    
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:textAppearance="@style/TextAppearance.AppCompat.Large"
                android:text="Back"/>
    
        </android.support.v7.widget.CardView>
    
    </com.wajahatkarim3.easyflipview.EasyFlipView>
    

    Any idea why this is happening/what I'm doing wrong?

    opened by ljaniszewski 7
  • Updated library with Vertical animation (that can be changed from xml itself)and using it up with RecyclerView.

    Updated library with Vertical animation (that can be changed from xml itself)and using it up with RecyclerView.

    Hi wajahat, I have added Vertical flip animation which can be changed from xml itself, (Like ,app:flipType="horizontal") and made an example in which it will show how flipView can be used in RecyclerView also (Before it was not scrollable in RecyclerView). Thank you.

    opened by sachinvarma 6
  • Migrate to Maven Central

    Migrate to Maven Central

    JFrog just announced that they'll be shutting down JCenter: https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/

    Key dates are:

    • February 28th: No more submissions will be accepted to Bintray, JCenter
    • May 1st: Bintray, JCenter services will no longer be available

    Hence this library should also be migrated to another maven repository like Maven central.

    opened by wajahatkarim3 4
  • Animation completion handler

    Animation completion handler

    Are you expecting to provide a way for users to set an animation completion handler? We can already get the duration of the animation, so we could just use a timer, but if the API is already doing something when the animation completes, it would be good to ensure that the user's completion tasks would be done after the API's.

    opened by jordaneckhardt 3
  • Creating the view programmatically

    Creating the view programmatically

    Hello, your code assume that the EasyFlipView is inflated from an xml layout. Building it programmatically will generate an NPE I.E here:

        public void setFlipDuration(int flipDuration) {
            this.flipDuration = flipDuration;
            ((Animator)this.mSetRightOut.getChildAnimations().get(0)).setDuration((long)flipDuration);
            ((Animator)this.mSetRightOut.getChildAnimations().get(1)).setStartDelay((long)(flipDuration / 2));
            ((Animator)this.mSetLeftIn.getChildAnimations().get(1)).setDuration((long)flipDuration);
            ((Animator)this.mSetLeftIn.getChildAnimations().get(2)).setStartDelay((long)(flipDuration / 2));
        }
    

    because mSetRightOut will always be null as it is built in the "OnFinishInflate", which is not callable from outside and called only if the view is inflated from an XML layout

    I would suggest to simply add a method (public) called setup() that is fired as well in OnFinishInflate but could allow people to build the view programmatically and setup later as needed.

    Thanks!

    opened by iGio90 3
  • front views can be seen reversed for a short delay at the end of the animation

    front views can be seen reversed for a short delay at the end of the animation

    When I flip my component, at the end of the animation I can see through the back view for a short time. what I see is, for example, the text view of the front view reversed. It doesn't matter if I set a background to the view or not.

    EDIT: I tested to put a very long animation time to see what happens. It works well but at the end of the animation there is a flickering showing the front view flipped then the back view again (like if the back view disappeared for a short time)

    Any clues? Cheers!

    opened by maaks 2
  • Build fails due to EasyFlipView dependency issue

    Build fails due to EasyFlipView dependency issue

    My builds started failing today for some reason and I am getting this message

    Could not determine artifacts for com.wajahatkarim3.EasyFlipView:EasyFlipView:2.1.2: Skipped due to earlier error

    Any ideas about how to fix that?

    opened by tartarJR 1
  • Fix/gesture detector

    Fix/gesture detector

    Title

    Implementing the new GestureDetector

    Description

    I noticed that onTouchEvent worked for me in emulators but not my device (Samsung A10). When I debugged, I figured that dx >= 0 && dx < MAX_CLICK_DISTANCE) && (dy >= 0 && dy < MAX_CLICK_DISTANCE only returned true when my ACTION_DOWN axis is almost exactly the same as ACTION_UP (Was it used to detect a swipe?). Hence, the following solution works well for me.

    opened by waseefakhtar 1
  • How to flip inside listview?

    How to flip inside listview?

    Hello folks and Mr. Karim.

    I am trying to do the easyflip manually, because I am using a List View, but with no success... When I do the touch, the app closes...

    Here is my code, if someone could help me I aprecciate:

    ` public class Main5Activity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main5);
    
        //reads a txt file and create a list view with its content
        readTxt();
    
    
        //trying to make a easyflip manually, but I failed... When I click the item on list view, the app closes
        ListView list = (ListView) findViewById(R.id.list_cards);
    
        final EasyFlipView efView = (EasyFlipView) findViewById(R.id.cardflip);
    
        list.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
    
                try {
    
                    efView.flipTheView();
    
                }
    
                catch (Exception e) {
    
                    Toast.makeText(getApplicationContext(), (CharSequence) e, Toast.LENGTH_LONG).show();
    
    
                }
    
    
            }
        });
    
    
    
    public void readTxt () {
    
    
        File caminhoTxt = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/lookupgs1.txt");
    
        if (caminhoTxt.exists()) {
    
            try {
    
                String line;
    
                FileReader fileReader2 = new FileReader(caminhoTxt);
                BufferedReader buffer = new BufferedReader(fileReader2);
                CardAdapter adapter = new CardAdapter(this);
    
    
                while ((line = buffer.readLine()) != null) {
    
                    String[] parametros = line.split(";");
    
                    String codRFID = parametros[0];
                    String desc = parametros[1];
    
                    ListView lvCards = (ListView) findViewById(R.id.list_cards);
    
                    lvCards.setAdapter(adapter);
    
                    try {
    
                        if (desc.contains("Controlador")) {
    
                            adapter.add(new CardModel(R.drawable.quadro, desc, codRFID));
    
                        }
    
                        else if (desc.contains("Quadro")) {
    
                            adapter.add(new CardModel(R.drawable.quadro, desc, codRFID));
    
                        }
    
                        else if (desc.contains("Medicamentos")) {
    
                            adapter.add(new CardModel(R.drawable.med, desc, codRFID));
    
                        }
    
                        else if (desc.contains("Câmera de Validação Esteira")) {
    
                            adapter.add(new CardModel(R.drawable.quadro, desc, codRFID));
    
                        }
    
                        else if (desc.contains("Impressora")) {
    
                            adapter.add(new CardModel(R.drawable.printer01, desc, codRFID));
    
                        }
    
                        else {
    
                            adapter.add(new CardModel(R.drawable.cpx, desc, codRFID));
    
                        }
    
                    }
    
                    catch (Exception e) {
    
                        Toast.makeText(this, (CharSequence) e, Toast.LENGTH_LONG).show();
                    }
    
                }
    
    
            }
    
            catch (Exception e) {
    
                Toast.makeText(this, (CharSequence) e, Toast.LENGTH_SHORT).show();
    
            }
        }
    
        else {
    
            Toast.makeText(this, "File \"lookupgs1.txt\" Not Founded!", Toast.LENGTH_SHORT).show();
    
        }
    }
    

    } `

    opened by Vhox 1
  • NuGet

    NuGet

    Hello,

    how resolve this error ?

    Package EasyFlipView 1.0.0 is not compatible with monoandroid81 (MonoAndroid,Version=v8.1). Package EasyFlipView 1.0.0 supports: net (.NETFramework,Version=v0.0)

    regards

    wontfix 
    opened by mrhamok 1
  • Add license scan report and status

    Add license scan report and status

    Your FOSSA integration was successful! Attached in this PR is a badge and license report to track scan status in your README.

    Below are docs for integrating FOSSA license checks into your CI:

    opened by fossabot 1
  • when use EasyFlipView with Android Tinder Swipe View back view invisibl

    when use EasyFlipView with Android Tinder Swipe View back view invisibl

    https://blog.mindorks.com/android-tinder-swipe-view-example-3eca9b0d4794 when use EasyFlipView front is good but when flip back became invisible white screen and can not do any action in back view

    opened by MohamedElkhouly123 1
  • Dynamic flip type leads to mirrored images and wrong flip animation

    Dynamic flip type leads to mirrored images and wrong flip animation

    Nice library, thank you very much. I'm using it with two image views. Depending on a fling motion, the user is able to turn the image vertically (if swiping up or down) or horizontally (if swiping horizontally). The type (from front or back, left or right) is changed accordingly. This motion may be repeated as often as the user likes on the same.

    A problem occurs, if a user swipes vertically and then horizontally (or vice versa). Here's a little POC to show what I mean.

    // the flip view flips on touch
    findViewById<EasyFlipView>(R.id.flip_view).run {
    
        setToHorizontalType()
    
        // first click: everything is fine
        setOnFlipListener { _, _ ->
            setToVerticalType()
    
            // second click: mirrored image view, correct animation
            setOnFlipListener { _, _ ->
                setToHorizontalType()
                setOnClickListener(null)
    
                // third click: mirrored image view changes back (is now correct), wrong animation
                // following clicks: wrong animations but correct image views
            }
        }
    }
    

    This most probably has got something to do with the animations. When you 'flip' the image view, it's being mirrored which doesn't matter if you mirror it back along the same axis. But as soon as you mix vertical and horizontal mirroring, everything breaks.

    Manually mirroring the image views via getChildAt(1).scaleY = -1f would probably be possible. Nevertheless I think it would be best to keep track of these changes within the library.

    I've hacked my way around the issue by stacking two flip views over one another and dynamically showing/hiding them. One is used for vertical and the other one for horizontal flips. This is dirty and I'm wondering, whether you've ever encountered this problem or use case.

    opened by martamusikmaschine 0
  • [FEATURE REQUEST] Make it possible to have both cards share height of the higher one

    [FEATURE REQUEST] Make it possible to have both cards share height of the higher one

    First of all - Thank you for providing us with such a great and simple library! I love it and I'm generally delighted with how it works, but there's a problem that I see no simple way of fixing.

    Currently, I see no other way for cards to have them share the height of the higher one other than hardcode height of both child fragments. I think that allowing the control of whether I want the other side visibility to be changed to INVISIBLE not GONE would help many people that want to display dynamic content in their FlipView.

    opened by GiorgioKozmani 1
  • App crashes on flipTheView() on some devices

    App crashes on flipTheView() on some devices

    Although the library works fine on most devices, my app crashes when calling the flipTheView() method on some devices like Huawai P20 Pro, Xiaomi A2 Lite. Does anyone have any idea what this might be and how to fix it?

    opened by Tricolor-Soft 5
Releases(3.0.3)
  • 3.0.3(Feb 3, 2022)

  • 3.0.0(Mar 28, 2020)

  • 2.1.2(Dec 7, 2018)

    Adds the capability to automatically flip the view back to front side after some fixed time. You can use it from XML like this

    app:autoFlipBack="true"
    app:autoFlipBackTime="1000"
    

    or from the Java like this:

    // Get/Set if the auto flip back is enabled
    boolean isAutoFlipBackEnabled = mYourFlipView.isAutoFlipBack();
    mYourFlipView.setAutoFlipBack(true);
    
    // Get/Set the time in milliseconds (ms) after the view is auto flip back to original front side
    int autoflipBackTimeInMilliseconds = mYourFlipView.getAutoFlipBackTime();
    mYourFlipView.setAutoFlipBackTime(2000);
    
    Source code(tar.gz)
    Source code(zip)
  • 2.1.1(Nov 9, 2018)

    Adds setter/getter for flipType and flipDirection and fixes issue #35

    // Sets the animation type to horizontal
    easyFlipView.setToHorizontalType();
    
    // Sets the animation type to vertical
    easyFlipView.setToVerticalType();
    
    // Returns true if the Flip Type of animation is Horizontal?
    easyFlipView.isHorizontalType();
    
    // Returns true if the Flip Type of animation is Vertical?
    easyFlipView.isVerticalType();
    
    // Sets the animation direction from left (horizontal) and back (vertical)
    easyFlipView.setFlipTypeFromLeft();
    
    // Sets the animation direction from right (horizontal) and front (vertical)
    easyFlipView.setFlipTypeFromRight();
    
    // Sets the animation direction from front (vertical) and right (horizontal)
    easyFlipView.setFlipTypeFromFront();
    
    // Sets the animation direction from back (vertical) and left (horizontal)
    easyFlipView.setFlipTypeFromBack();
    
    // Returns the flip type from direction. For horizontal, it will be either right or left and for vertical, it will be front or back.
    easyFlipView.getFlipTypeFrom();
    
    Source code(tar.gz)
    Source code(zip)
  • 2.1.0(Jun 2, 2018)

    • Added multi-dimension animations support. Thanks to @sachinvarma for his pull request #23 and #24
    • Updated the dependencies and build tools. Thanks to @alancamargo92 for his pull request #20
    Source code(tar.gz)
    Source code(zip)
  • 2.0.5(Dec 18, 2017)

    • Updated EasyFlipView.OnFlipAnimationListener. Now it also gives the current flip view object as well.
    • Added flip animation type (horizontal and vertical) with both XML and Java. Thanks to Sachin Varma
    • Published v2.0.5 on jCenter
    Source code(tar.gz)
    Source code(zip)
  • 2.0.2(Dec 3, 2017)

    • Fixed issue #11 of Animation Complete Listener with EasyFlipView.OnFlipAnimationListener
    • Fixed issue #10 of adding dynamic views at runtime in Java with EasyFlipView.addView() method. Thanks to iGio90
    • Published v2.0.2 on jCenter
    Source code(tar.gz)
    Source code(zip)
  • 1.0.2(Feb 14, 2017)

    • Fixed Issue #6 of front/back clicks. Now you can set your own listeners for front and back sides.
    • Polished animations and made them more smooth.
    • Published v1.0.2 on jcenter()
    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Jan 10, 2017)

    • Fixed Issue #2 of quick clicks. Now, touch won't work until flip animation is finished.
    • Added flipping of the view with or without animation.
    • Get whether flip view's visible side is front or not.
    Source code(tar.gz)
    Source code(zip)
  • 1.0.0(Jan 7, 2017)

Owner
Wajahat Karim
🔥 Google Dev Expert (GDE) in Android . 📱 Android Developer . 💻 Open Source Contributor . 📕 Published Book Author 📝 Blogger 🎤 Public Speaker
Wajahat Karim
💳 Bank Card View is a simple and elegant card view with Flip animation.

Visualização de cartão bancário ?? Bank Card View é uma visualização de cartão simples e elegante com animação Flip. Versões Selecione a língua : Engl

Geovani Amaral 9 Aug 26, 2022
A component for flip animation on Android, which is similar to the effect in Flipboard iPhone/Android

android-flip Aphid FlipView is a UI component to accomplish the flipping animation like Flipboard does. A pre-built demo APK file for Android OS 2.2+

Bo 2.8k Dec 21, 2022
3D Style Page Flip on Android

PageFlip This project is aimed to implement 3D style page flip on Android system based on OpenGL 2.0. For JNI version, please visit: android-PageFlip-

eschao 1.7k Dec 19, 2022
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 1k Jan 1, 2023
A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix.

SuperForwardView About A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix. GIF Design Credi

Ertugrul 77 Dec 9, 2022
FadeOutParticle is an animation for disappearing views like TextViews

FadeOutParticle is an animation for disappearing views like TextViews

Hooman Mohammadi 50 Dec 28, 2022
You can easily access the top of the screen in Android. Like a iPhone 6 & 6 Plus.

Reachability on Android Easy access on top. Like a iPhone 6 & 6 Plus. demo apk Usage Add dependencies compile 'com.github.sakebook:Reachability:0.2.0@

sakebook 258 Nov 12, 2022
🦚 An expandable layout that shows a two-level layout with an indicator.

ExpandableLayout ?? An expandable layout that shows a two-level layout with an indicator. Including in your project Gradle Add below codes to your roo

Jaewoong Eum 716 Dec 25, 2022
Animation View to Highlight particular Views 🎯 for Android

TargetView Animation View to Highlight particular Views ?? for Android, it can be Used with Views that you see important (Like CountDownTimer), And al

Anas Altair 53 Aug 7, 2021
Custom-view-animated-file-downloader - Custom Views, Animations, Broadcast Receivers, Notifications

Downloader App Custom views , Drawing with Canvas, Animations (with motionlayout

null 2 Jun 24, 2022
Android Library To Create Button With Multi Reactions like Facebook or Linkedin

ReactButton Android Library written in Java to Create ReactButton with Multi Reactions like Facebook or Linkedin ?? Default Reactions ?? Custom Reacti

Amr Hesham 103 Dec 15, 2022
💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.

?? Rich Android Path. ?? Draw as you want. ?? Animate much as you can. Download sample app: Features Full Animation Control on Paths and VectorDrawabl

Ahmed Tarek 2.3k Dec 20, 2022
A Photo Editor library with simple, easy support for image editing using paints,text,filters,emoji and Sticker like stories.

PhotoEditor A Photo Editor library with simple, easy support for image editing using Paints, Text, Filters, Emoji and Sticker like stories. Features D

Burhanuddin Rashid 3.6k Jan 9, 2023
Android ripple animation helper, easy to create Circular Reveal. | Android水波动画帮助类,轻松实现View show/hide/startActivity()特效。(0.4.6)

CircularAnim English | 中文 首先来看一个UI动效图。 效果图是是Dribbble上看到的,原作品在此。 我所实现的效果如下: Watch on YouTube Compile 最新可用版本 So,你可以如下compile该项目,也可以直接把这个类 CircularAnim 拷

ice 2k Nov 19, 2022
Implementing multiple list animations in a walk-through series of articles.

List Animations In Compose This repository is the resource of a series of articles. Each branch represents the final version of a use case that was bu

Ahmed Sellami 58 Dec 11, 2022
Android Library that lights items for tutorials or walk-throughs etc...

Spotlight Gradle dependencies { implementation 'com.github.takusemba:spotlight:x.x.x' } Usage val spotlight = Spotlight.Builder(this) .setTarg

TakuSemba 3.4k Jan 4, 2023
Android Library to create Lottie animation view dialog easily with a lot of customization

LottieDialog Android Library to create Lottie animation view dialog easily with a lot of customization Why you should use Lottie Dialog You have no li

Amr Hesham 39 Oct 7, 2022
Android Library to create Lottie animation view dialog easily with a lot of customization

Android Library to create Lottie animation view dialog easily with a lot of customization

Amr Hesham 39 Oct 7, 2022
Customizable bounce animation for any view like in Clash Royale app

Bounceview-Android Customizable bounce animation for any view updation Getting Started In your build.gradle dependencies { implementation 'hari.bo

Hariprasanth S 149 Nov 18, 2022