摘要: 以该图为例 UI策略:外层无脑线型垂直布局,行宽占满父类,高随内容变化。内容逐行分析。 <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_width="wra 阅读全文
posted @ 2021-09-04 21:22 remix_alone 阅读(61) 评论(0) 推荐(0)
摘要: 介绍 ViewFilper是Android中轮播图组件。这是一个ViewGroup和RaidoGroup一样包裹图片来作为内容,通过设置inAnimation和outAnimation达到图片的切换效果。 方法 public void startFlipping() 参数:无 返回值;无 返回值意义 阅读全文
posted @ 2021-09-04 20:23 remix_alone 阅读(232) 评论(0) 推荐(0)
摘要: 擦除WaipeData数据即可恢复(那次我是WipeData后在AVD中启动的) 阅读全文
posted @ 2021-09-02 20:51 remix_alone 阅读(23) 评论(0) 推荐(0)
摘要: 1. 注意!字段不能全是字符串。 字符串在查询升序,降序时会出现严重问题。 2. 字段不能带有杂乱数据,否则无法升序降序 阅读全文
posted @ 2021-09-01 20:33 remix_alone 阅读(41) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/video/BV1RJ411F7Kj?p=17 阅读全文
posted @ 2021-09-01 20:17 remix_alone 阅读(30) 评论(0) 推荐(0)
摘要: 定义: 在 MySQL SELECT 语句中,ORDER BY 子句主要用来将结果集中的数据按照一定的顺序进行排序。 其语法格式为: SELECT <字段>[,..<字段n>] FROM <数据表名> ORDER BY {<列名> | <表达式> | <位置>} [ASC|DESC] 语法说明如下。 阅读全文
posted @ 2021-09-01 19:43 remix_alone 阅读(655) 评论(0) 推荐(0)
摘要: Android——数据源应该放入JavaBean来替换HashMap 阅读全文
posted @ 2021-09-01 15:42 remix_alone 阅读(15) 评论(0) 推荐(0)
摘要: 1.https://blog.csdn.net/duyiqun/article/details/70160181 2.https://www.cnblogs.com/ccdc/p/4620847.html public static void setListViewHeightBasedOnChil 阅读全文
posted @ 2021-09-01 09:57 remix_alone 阅读(435) 评论(0) 推荐(0)
摘要: 如何从activity页面跳转到fragment页面?在startactivity的地方,对intent加入一个参数,例如,intert.putExtra(“fragid”,1);然后再你的fragment的主activity中的oncreate或者Onresume函数中获得这个id,例如: int 阅读全文
posted @ 2021-09-01 08:59 remix_alone 阅读(1190) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/CHZKAL/article/details/90406309 compile 'com.github.bumptech.glide:glide:3.7.0' Glide作用将网络图片资源加载到组件中。 Glide加载图片时有两级缓存机制,第一级内存缓存, 阅读全文
posted @ 2021-08-31 20:00 remix_alone 阅读(1162) 评论(0) 推荐(0)