Back to project page HashQanda.
The source code is released under:
GNU General Public License
If you think the Android project HashQanda listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package au.com.infiniterecursion.hashqanda; //w w w . ja v a 2s . com import java.util.ArrayList; import android.app.Application; import android.util.Log; import android.widget.BaseAdapter; import au.com.infiniterecursion.hashqanda.MainActivity.CachedBitmapAndTweet; import au.com.infiniterecursion.hashqanda.MainActivity.ThreadedLoader; import au.com.infiniterecursion.hashqanda.MainActivity.TweetAdapter; /* * Main HashQanda Activity * * AUTHORS: * * Andy Nicholson * * 2011 * Copyright Infinite Recursion Pty Ltd. * http://www.infiniterecursion.com.au */ public class HQApp extends Application { private static final String TAG = "hashqanda"; private boolean thread_running = false; private ThreadedLoader loader; private ArrayList<CachedBitmapAndTweet> tweetList; private TweetAdapter adapter; private boolean showing_tweet_dialog; public boolean isShowing_tweet_dialog() { return showing_tweet_dialog; } public void setShowing_tweet_dialog(boolean showingTweetDialog) { showing_tweet_dialog = showingTweetDialog; } public void onCreate() { super.onCreate(); Log.d(TAG, " onCreate in HQApp."); tweetList = new ArrayList<CachedBitmapAndTweet>(); } public ArrayList<CachedBitmapAndTweet> getTweetList() { return tweetList; } public void setTweetList(ArrayList<CachedBitmapAndTweet> tweetList) { this.tweetList = tweetList; } public ThreadedLoader getLoader() { return loader; } public void setLoader(ThreadedLoader loader) { this.loader = loader; } public boolean isThread_running() { return thread_running; } public void setThread_running(boolean threadRunning) { thread_running = threadRunning; } public BaseAdapter getListAdapter() { return adapter; } public void setListAdapter(TweetAdapter adapter) { this.adapter = adapter; } }