Home | History | Annotate | Download | only in custompropertyanimation
      1 package com.android.custompropertyanimation;
      2 
      3 import android.content.Context;
      4 import android.view.View;
      5 
      6 public class MyView extends View {
      7 
      8     float mFoo = 0;
      9 
     10     public MyView(Context context) {
     11         super(context);
     12     }
     13 
     14     public void setFoo(float foo) {
     15         System.out.println("foo = " + foo);
     16         mFoo = foo;
     17     }
     18 
     19     public float getFoo() {
     20         System.out.println("getFoo() returning " + mFoo);
     21         return mFoo;
     22     }
     23 
     24 }
     25