摘要:
public void popwindow(){ v = View.inflate(context, R.layout.item_cha,null); pop = new PopupWindow(v, ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.La 阅读全文
摘要:
public void qq(){ Cursor query = db.query("user",null,null,null,null,null,null); while(query.moveToNext()){ Bean b=new Bean(); b.name=query.getString( 阅读全文
摘要:
public class bubbleSort { public bubbleSort(){ int a[]={49,38,65,97,**,**,**,**,78,34,12,64,5,4,62,99,98,54,56,17,18,23,34,15,35,25,53,51}; int temp=0 阅读全文
摘要:
xutils的使用必须导入一个依赖protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lv = 阅读全文
摘要:
1、注入依赖 compile 'com.androidkun:xversionupdate:1.0.4' 依赖有的时候可能错误,把build,里面的minSdkVersion 16这里是16 1 2、调用API实现版本更新 VersionUpdateConfig.getInstance()//获取配 阅读全文
摘要:
public class CleanMessageUtil { /** * @param context * @return * @throws Exception * 获取当前缓存 */ public static String getTotalCacheSize(Context context) 阅读全文