daily49er.android.app
Class Article

java.lang.Object
  extended by ListActivity
      extended by daily49er.android.app.Article

public class Article
extends ListActivity


Constructor Summary
Article()
           
 
Method Summary
 boolean onCreateOptionsMenu(Menu menu)
          Creates a context menu from /res/layout/menu_button.xml; the context menu will present the user options to share an article that is being currently viewed through Facebook, Twitter and e-mail.
 boolean onOptionsItemSelected(MenuItem item)
          Perform the respective sharing actions for each type of service selected from the sharing context menu.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Article

public Article()
Method Detail

onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)
Creates a context menu from /res/layout/menu_button.xml; the context menu will present the user options to share an article that is being currently viewed through Facebook, Twitter and e-mail.

Parameters:
menu - - the menu that will be created through the menu inflater.
Returns:
true - if menu has been inflated and shown.

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)
Perform the respective sharing actions for each type of service selected from the sharing context menu.

Parameters:
item - - the button selected from the menu button.
Returns:
true - once the case's action has been completed (if applicable).