黑莓Listfield为每个行变量高度?
问题描述:
我需要实现它具有高度可变的,每每行定制ListField。
应选择行具有不同的高度,然后其他行。
I need to implement custom ListField which has height variable for every each row. Selected row should has different height then other rows.
答
那么你需要看看你的自我镜子,回答没有证件的方法好不好?
Well you need to look your self in the mirror and answer "Are Undocumented Methods OK?"
如果答案是肯定的使用ListField.setRowHeight(指数,高度),这是在4.2.1 4.7和5.0 ATLEAST可用。
if the answer is yes use "ListField.setRowHeight(index,height)" this is available in 4.2.1 4.7 and 5.0 atleast.
希望帮助。