open class FavButtonView : FrameLayout, OnClickListener
Animated "heart" button based off Twitter's implementation Adapted from https://github.com/frogermcs/LikeAnimation for sg.edu.ntu.scse.cz2006.gymbuddies.widget in Gym Buddies!
Author
Kenneth Soh, frogermcs
Since
2019-10-01
<init> |
FavButtonView(context: Context!) FavButtonView(context: Context!, attrs: AttributeSet!) FavButtonView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int) FavButtonView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int) |
ACCELERATE_DECELERATE_INTERPOLATOR |
static val ACCELERATE_DECELERATE_INTERPOLATOR: AccelerateDecelerateInterpolator! |
animatorSet |
var animatorSet: AnimatorSet! |
DECCELERATE_INTERPOLATOR |
static val DECCELERATE_INTERPOLATOR: DecelerateInterpolator! |
isChecked |
var isChecked: Boolean |
ivHeart |
var ivHeart: ImageView! |
OVERSHOOT_INTERPOLATOR |
static val OVERSHOOT_INTERPOLATOR: OvershootInterpolator! |
resourceOff |
var resourceOff: Int |
resourceOn |
var resourceOn: Int |
vCircle |
var vCircle: CircleView! |
vDotsView |
var vDotsView: DotsView! |
init |
open fun init(): Unit |
isChecked |
open fun isChecked(): Boolean |
onClick |
open fun onClick(v: View!): Unit |
onTouchEvent |
open fun onTouchEvent(event: MotionEvent!): Boolean |
setChecked |
open fun setChecked(checked: Boolean): Unit |