上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 方法一、 imageview.setImageURI(Uri.fromFile(new File(这里填路径字符串))); 方法二、 Bitmap bitmap = BitmapFactory.decodeStream(getContentResolver().openInputStream(img 阅读全文
posted @ 2019-07-15 01:07 蜜铀 阅读(5107) 评论(0) 推荐(0) 编辑
摘要: 最后在 Terminal输入: gradlew makeJar 然后你在项目文件build里面找libs下面看看有没有你的东西: 阅读全文
posted @ 2019-07-14 21:53 蜜铀 阅读(295) 评论(0) 推荐(0) 编辑
摘要: LinearLayout:线性布局; TableLayout:表格布局;继承自线性布局,因此具有线性布局的属性支持; FrameLayout:帧布局;组件之间的关系是叠加的;先定义的组件位于最底层; RelativeLayout:相对布局; GridLayout:网格布局; AbsoluteLayo 阅读全文
posted @ 2019-07-14 19:20 蜜铀 阅读(110) 评论(0) 推荐(1) 编辑
摘要: findViewById 的另外一种表现形式 @BindView 导入: 绑定: 使用: 等价于: OnClick的另外一个表达方式 阅读全文
posted @ 2019-06-24 15:45 蜜铀 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 到某个文件夹: cd file_path 克隆远程git内容到本地(file_path下将有个project子目录) git clone http://bug01.com/project/.git 到project目录下: cd project 列出所有分支名称 git branch -a 分支导入 阅读全文
posted @ 2019-06-10 23:33 蜜铀 阅读(185) 评论(0) 推荐(0) 编辑
摘要: javabean 中常用 get set .... 可用: Code-->Generate 通过快捷键Alt+Insert 阅读全文
posted @ 2019-06-07 15:46 蜜铀 阅读(538) 评论(0) 推荐(0) 编辑
摘要: 因为打开和保存继承于FileDialog 同一个,所以做了个通用方法。 打开文件操作 保存操作 阅读全文
posted @ 2019-06-05 15:43 蜜铀 阅读(10514) 评论(3) 推荐(2) 编辑
摘要: 如果有个表 rowid name 1 A 2 B 3 C 删除了1 后 rowid name 2 B 3 C 在 SQLite执行Vacuum命令(释放空间)后 rowid name 1 B 2 C 阅读全文
posted @ 2019-06-04 10:49 蜜铀 阅读(321) 评论(0) 推荐(0) 编辑
摘要: public class NotificationObject: INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; public void RaisePropertyChanged(string propertyName) ... 阅读全文
posted @ 2019-06-04 09:29 蜜铀 阅读(283) 评论(0) 推荐(0) 编辑
摘要: Imports System.ComponentModel ''' ''' 属性变化后通知UI ''' ''' Public Class NotificationObject Implements INotifyPropertyChanged Public Event PropertyChanged(sender As Object, e As PropertyC... 阅读全文
posted @ 2019-06-04 09:27 蜜铀 阅读(255) 评论(1) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页