lutao2599

Results 9 comments of lutao2599

好的,在demo中看到了,谢谢 ------------------ 原始邮件 ------------------ 发件人: "123ufo/DWRefreshLayout"

感谢您的耐心解答,解决了我的问题,但是有点疑问:就是groupPosition=0要一行显示,等于1的时候要使用网格,但是要反过来赋值才达到我想要的效果,请问怎么回事? ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月7日(星期五) 下午5:41 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 使用GroupedGridLayoutManager,复写getChildSpanSize方法。当某个组想要线性布局时,getChildSpanSize就返回spanCount,item就会占满一行。 可参考我的demo中的Grid2Activity页面。 — You are receiving this because you authored the thread. Reply to this email directly,...

请问怎么修改网格布局之间的间距 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月7日(星期五) 下午5:41 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 使用GroupedGridLayoutManager,复写getChildSpanSize方法。当某个组想要线性布局时,getChildSpanSize就返回spanCount,item就会占满一行。 可参考我的demo中的Grid2Activity页面。 — You are receiving this because you authored the thread. Reply to this email directly,...

谢谢大佬 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月8日(星期六) 上午9:54 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 1、给item布局的margin设置间隔。 2、参考我demo中的自定义CustomGridItemDecoration。需要间隔的item,对应的getxxxSize方法返回间隔大小,不需要则返回0。Drawable可以返回null。 — You are receiving this because you authored the thread. Reply to this email directly,...

demo中没有这个类 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月8日(星期六) 上午9:54 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 1、给item布局的margin设置间隔。 2、参考我demo中的自定义CustomGridItemDecoration。需要间隔的item,对应的getxxxSize方法返回间隔大小,不需要则返回0。Drawable可以返回null。 — You are receiving this because you authored the thread. Reply to this email directly,...

我是要缩小网格布局之间的间距,该怎么操作呢 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月8日(星期六) 上午9:54 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 1、给item布局的margin设置间隔。 2、参考我demo中的自定义CustomGridItemDecoration。需要间隔的item,对应的getxxxSize方法返回间隔大小,不需要则返回0。Drawable可以返回null。 — You are receiving this because you authored the thread. Reply to this email directly,...

没在你的demo中找到这个类 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年5月8日(星期六) 上午9:54 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 如何实现线性布局和网格布局同时存在 (#73) 1、给item布局的margin设置间隔。 2、参考我demo中的自定义CustomGridItemDecoration。需要间隔的item,对应的getxxxSize方法返回间隔大小,不需要则返回0。Drawable可以返回null。 — You are receiving this because you authored the thread. Reply to this email directly,...

嗯,不过我需要和上面的线性布局两侧的间距统一,这没什么方法修改吗 ------------------ 原始邮件 ------------------ 发件人: "donkingliang/GroupedRecyclerViewAdapter" ***@***.***>; 发送时间: 2021年6月11日(星期五) 下午3:33 ***@***.***>; ***@***.******@***.***>; 主题: Re: [donkingliang/GroupedRecyclerViewAdapter] 当为网格布局时间距问题 (#74) 间距大小取决于margin的值,如果大了,你的值改小一点。另外item设置margin时,中间的间隔会大,因为中间的间隔是两个item的边距合在一起的。 — You are receiving this because you authored the thread. Reply to this email directly, view...

是在剪辑时长时,如果不做任何操作点完成会黑屏