Open cbaser opened 4 years ago
Hello I would like to add a super like button which has top direction but I can not handle it. I followed to same instructions in sample application but I don't know why, it is not working (it swipes to the right). Can you help me?
FloatingActionButton super_like = view.findViewById(R.id.super_like_button); super_like.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { SwipeAnimationSetting setting = new SwipeAnimationSetting.Builder() .setDirection(Direction.Top) .setDuration(Duration.Normal.duration) .setInterpolator(new AccelerateInterpolator()) .build(); manager.setSwipeAnimationSetting(setting); cardStackView.swipe(); } });
@yuyakaido are you going to check that? It should not be so difficult I guess
Hello I would like to add a super like button which has top direction but I can not handle it. I followed to same instructions in sample application but I don't know why, it is not working (it swipes to the right). Can you help me?