Android 这样的AppWidget如何实现?
阿神
阿神 2017-04-17 17:47:10
0
2
405

想设计个类似凤凰新闻的AppWidget,这种效果该怎么做?

这有两个相同的item,该怎么实现复用?还是在一个layout文件中写死,使用ReomteViews去调用?

阿神
阿神

闭关修行中......

reply all(2)
小葫芦
  1. Create a new View class, which inherits from LinearLayout, and contains an ImageView and a TextView (attributes can be customized as needed), and you can reuse them.

  2. Use RecycleView as container and inherit ViewHolder.

迷茫

Well learn about viewholder

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template