Skip to content

Instantly share code, notes, and snippets.

interface AccountType {
var balance: Float
val rate: Float
fun calculateInterest(): Float
}
interface InterestCalculator {
fun calculateInterest(balance: Float, rate: Float): Float
}
class ResultProfileFragment : Fragment(),
ViewBindingHolder<ResultProfileBinding> by ViewBindingHolderImpl() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? = initBinding(ResultProfileBinding.inflate(layoutInflater), this) {
// onCreateView code goes here...
}
package mx.yellowme.youst.playground.ui.widgets
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.animation.ValueAnimator
import android.content.Context
import android.util.AttributeSet
import android.view.animation.AnimationUtils
import android.view.animation.LinearInterpolator
import androidx.core.animation.doOnEnd

Keybase proof

I hereby claim:

  • I am cesargom on github.
  • I am cesargomez (https://keybase.io/cesargomez) on keybase.
  • I have a public key ASAvSHBZBTZaUbEZn4HDXJm0iZEGmKeNzdaajpX8D7iO3Ao

To claim this, I am signing this object: