💳 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
🧑🏽‍💻 Lead Android @AirliftTech 🔥 Google Dev Expert (GDE). 📱 Android Developer . 💻 Open Source . 📕 Books x2 Author 📝 Blogger 🎤 Public Speaker
Wajahat Karim
ScratchView 7.0 0.0 L4 Java repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal.

ScratchView Intro ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal. There a

Harish Sridharan 1.1k Dec 24, 2022
ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal.

ScratchView Intro ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal. There a

Harish Sridharan 1.1k Dec 24, 2022
💳 CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card.

CreditCard View CreditCardView is an Android library that allows developers to create the UI which replicates an actual Credit Card. Displaying and en

Vinay Gaba 769 Dec 14, 2022
Janishar Ali 2.1k Jan 1, 2023
It's a flip way to show share widget.

What's FlipShare ? It's a cool way to show share widget. Demo Usage step 1. Confirm your parentView to locate the share widget, and then you can custo

巴掌 630 Sep 5, 2022
A simple and customizable two or three states Switch View

RMSwitch A simple View that works like a switch, but with more customizations. With the option to choose between two or three states. (from v1.1.0) **

Riccardo Moro 656 Dec 2, 2022
A View on which you can freely draw, customizing paint width, alpha and color, and take a screenshot of the content. Useful for note apps, signatures or free hand writing.

FreeDrawView A View that let you draw freely on it. You can customize paint width, alpha and color. Can be useful for notes app, signatures or hands-f

Riccardo Moro 643 Nov 28, 2022
Android view that allows the user to create drawings. Customize settings like color, width or tools. Undo or redo actions. Zoom into DrawView and add a background.

DrawView Android view that allows the user to create drawings. Draw anything you like in your Android device from simple view. Customize draw settings

Oscar Gilberto Medina Cruz 839 Dec 28, 2022
Just a Wheel——A easy way to setEmptyView to ListView、GridView or RecyclerView etc..

中文说明在这里 TEmptyView Just a Wheel—— A easier way to setEmptyView. Without having to write xml file every time. It supports AdapterView(ListView,GridView

Barry 454 Jan 9, 2023
This project created just for help developer who want to and ability of read VISA, UNION PAY, HUMO, ATTO and some other cards data read.

If you enjoy my content, please consider supporting what I do. Thank you. By me a Coffee To get a Git project into your build: Step 1. Add the JitPack

Fozilbek Imomov 1 Oct 15, 2022
A small, easy to use android library for implementing flipping between views as seen in the popular Flipboard application

FlipView About This library is made to be very easy to use and at the same time be feature complete. With only a few lines of code you can have a flip

Emil Sjölander 924 Nov 10, 2022
Sliding cards with pretty gallery effects.

SlidingCard Sliding cards with pretty gallery effects. Download Include the following dependency in your build.gradle file. Gradle: repositories {

mxn 681 Sep 7, 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
FloatingView can make the target view floating above the anchor view with cool animation

FloatingView FloatingView can make the target view floating above the anchor view with cool animation Links 中文版 README Blog about FloatingView demo.ap

UFreedom 1.8k Dec 27, 2022
Code Guide: How to create Snapchat-like image stickers and text stickers.

MotionViews-Android Code Guide : How to create Snapchat-like image stickers and text stickers After spending 2000+ hours and releasing 4+ successful a

Uptech 474 Dec 9, 2022
The CustomCalendarView provides an easy and customizable calendar to create a Calendar. It dispaly the days of a month in a grid layout and allows to navigate between months

Custom-Calendar-View To use the CustomCalendarView in your application, you first need to add the library to your application. You can do this by eith

Nilanchala Panigrahy 113 Nov 29, 2022
GreenDroid is a development library for the Android platform. It makes UI developments easier and consistent through your applications.

#GreenDroid Foreword : This project, initially initiated by me, Cyril Mottier, is not maintained anymore and can be considered as deprecated. As a con

Cyril Mottier 2.6k Jan 4, 2023
Created a Tinder like Card Deck & Captain Train like Toolbar

TinderView Created A Simple and Beautiful Tinder like card deck & Captain Train like toolbar. This is heavily based on AndroidSwipeableCardStack, wenc

Aradh Pillai 328 Jun 18, 2022
TileView is a subclass of android.view.ViewGroup that asynchronously displays, pans and zooms tile-based images. Plugins are available for features like markers, hotspots, and path drawing.

This project isn't maintained anymore. It is now recommended to use https://github.com/peterLaurence/MapView. MapView is maintained by Peter, one of o

Mike Dunn 1.5k Dec 29, 2022