FlingListActivity.java :  » App » snowservices » com » DeepFrozen » android » snowcore » Android Open Source

Android Open Source » App » snowservices 
snowservices » com » DeepFrozen » android » snowcore » FlingListActivity.java
package com.DeepFrozen.android.snowcore;

import android.app.ListActivity;
import android.os.Bundle;
import android.view.MotionEvent;

public class FlingListActivity extends ListActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mFlingHelper = new FlingHelper(this);
    }
   
    @Override
  public boolean onTouchEvent(MotionEvent event) {
      boolean returnVal = mFlingHelper.onTouchEvent(event); 
      if (returnVal)
        return returnVal;
      else
        return super.onTouchEvent(event);
  }
    
  protected FlingHelper mFlingHelper;
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.