Back to project page Android-IndexListview.
The source code is released under:
Apache License
If you think the Android project Android-IndexListview 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 com.cw.indexlistview; /*w ww .ja v a 2s .c o m*/ import android.app.Application; import android.content.Context; public class IndexListviewApplication extends Application { public static IndexListviewApplication instance = null; public static Context mContext; public IndexListviewApplication() { mContext = this; } public static Context getContext() { if (null == mContext) { new IndexListviewApplication(); } return mContext; } public static IndexListviewApplication getInstance() { if (instance == null) { instance = new IndexListviewApplication(); } return instance; } }