Code example for FragmentActivity

Methods: getApplication

0
 * 
 */ 
public class WasatterActivity extends FragmentActivity { 
 
	public Wasatter app() { 
		return (Wasatter) getApplication(); 
	} 
	 
	public Toast toast(int text_id) {
		return app().toast(text_id);
	} 
	 
	public Toast toast(String text) {
		return app().toast(text);
	} 
	 
	public Toast longToast(int text_id) {
		return app().longToast(text_id);
	} 
	 
Contextual code suggestions in your IDE  Get Codota for Java