- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 java 多线程详解一 多线程的简单使用
1.线程的三种启动方式: (1) 通过创建匿名内部类: public static void main(String[] args) { new Thread(new Runnable() { @Override public void run() { System.out.println
2016-08-30 17:50:07
308
原创 Java Random类的使用
1.简单使用:Random random=new Random();int a=random.nextInt();System.out.println(a);-325078223Process finished with exit code 0产生int类型范围内 -2147483648~2147483647 的随机整数。Random random=new Random();int a=
2016-08-30 15:47:02
994
原创 Android Studio versionCode 和versionName 改变没效果
解决:到gradle.build里面修改!defaultConfig { applicationId "com.example.perk.mobilesafe" minSdkVersion 14 targetSdkVersion 23 versionCode 2 versionName "1.2"}
2016-08-22 17:04:54
788
原创 android View的事件体系 scrollTo和scrollBy的区别
scrollTo 和srollBy是View的两个方法。用来改变控件内容的位置。只是内容的位置移动,所属的View的位置是不变的。 /** * Set the scrolled position of yourview. This will cause a call to * {@link #onScrollChanged(int,int, int, int)} and the
2016-05-12 12:45:06
620
qt学习之路2(第二版 基于qt5)
2013-10-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人