当前位置:网站首页>La vue latérale du cycle affiche cinq demi - écrans en dessous de cinq distributions moyennes
La vue latérale du cycle affiche cinq demi - écrans en dessous de cinq distributions moyennes
2022-07-05 10:11:00 【Une sculpture dans le désert.】
@Override
public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
View itemView = mInflater.inflate(R.layout.layout_item_hq_cn_icon, parent, false);
int columnWidth;
if (mDataSet.size() > 5) {
columnWidth = (int) (parent.getMeasuredWidth() / 5.57f);
} else {
columnWidth = (int) (parent.getMeasuredWidth() / mDataSet.size());
}
RecyclerView.LayoutParams lp = new RecyclerView.LayoutParams(columnWidth, RecyclerView.LayoutParams.WRAP_CONTENT);
itemView.setLayoutParams(lp);
return ViewHolder.createViewHolder(mContext, itemView);
}边栏推荐
- Applet image height adaptation and setting text line height
- 自动化规范检查软件如何发展而来?
- Uni app running to wechat development tool cannot Preview
- Energy momentum: how to achieve carbon neutralization in the power industry?
- 最全是一次I2C总结
- StaticLayout的使用详解
- cent7安装Oracle数据库报错
- Click the picture in the mobile browser and the picture will not pop up
- The essence of persuasion is to remove obstacles
- Unity particle special effects series - the poison spray preform is ready, and the unitypackage package can be used directly - next
猜你喜欢

Cross process communication Aidl

Pagoda panel MySQL cannot be started

《微信小程序-基础篇》小程序中的事件与冒泡

Swift tableview style (I) system basic

Hard core, have you ever seen robots play "escape from the secret room"? (code attached)

程序员如何活成自己喜欢的模样?

基于单片机步进电机控制器设计(正转反转指示灯挡位)

Cerebral Cortex:有向脑连接识别帕金森病中广泛存在的功能网络异常

Is it really reliable for AI to make complex decisions for enterprises? Participate in the live broadcast, Dr. Stanford to share his choice | qubit · viewpoint

盗版DALL·E成梗图之王?日产5万张图像,挤爆抱抱脸服务器,OpenAI勒令改名
随机推荐
H. 265 introduction to coding principles
Fluent generates icon prompt logo widget
剪掉ImageNet 20%数据量,模型性能不下降!Meta斯坦福等提出新方法,用知识蒸馏给数据集瘦身...
高级 OpenCV:BGR 像素强度图
Coordinate system of view
ArcGIS Pro creating features
Kotlin Compose 与原生 嵌套使用
QT VT100 parser
一个程序员的职业生涯到底该怎么规划?
苹果 5G 芯片研发失败?想要摆脱高通为时过早
Node red series (29): use slider and chart nodes to realize double broken line time series diagram
Officially launched! Tdengine plug-in enters the official website of grafana
Tianlong Babu TLBB series - about items dropped from packages
让AI替企业做复杂决策真的靠谱吗?参与直播,斯坦福博士来分享他的选择|量子位·视点...
Theme. AppCompat. Light. Darkactionbar not found
单片机原理与接口技术(ESP8266/ESP32)机器人类草稿
盗版DALL·E成梗图之王?日产5万张图像,挤爆抱抱脸服务器,OpenAI勒令改名
Tdengine connector goes online Google Data Studio app store
Cent7 Oracle database installation error
Solve the problem of no all pattern found during Navicat activation and registration