@Override
                public void onClick(View v) {
                    if (flag) {
                        mImageView.animate().scaleX(1.0f).setDuration(400);
                        mImageView.animate().scaleY(1.0f).setDuration(400);
                    } else {
                        mImageView.animate().scaleX(0.5f).setDuration(400);
                        mImageView.animate().scaleY(0.5f).setDuration(400);
                    }
                    flag = !flag;

                }
Returns a new instance of this fragment for the given section
number.
app/src/main/java/home/smart/fly/animations/ui/activity/ViewPagerNestedActivity.java