UnderConstructionListener.java :  » Blog-Twitter » toppotwitter » twitter » android » Android Open Source

Android Open Source » Blog Twitter » toppotwitter 
toppotwitter » twitter » android » UnderConstructionListener.java
package twitter.android;

import android.app.AlertDialog;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;

/**
 * 
 * @author Keisuke Kobayashi
 *
 */
public class UnderConstructionListener implements OnClickListener {

  private Context context;
  
  public UnderConstructionListener(Context context){
    this.context = context;
  }
  
  //@Override
  public void onClick(View arg0) {
    AlertDialog.Builder builder = new AlertDialog.Builder(context);
    builder.setTitle("Error");
    builder.setMessage("Under Construction...");
    builder.setPositiveButton("OK", null);
    builder.create().show();
  }

}
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.