[deviceone development] - an example of dynamically adding a component add method

1. Introduction

This example introduces in detail the use of ALayout's add method (the principle also applies to Linearlayout), and how data is exchanged between the new ui added and the existing ui, which is recommended for beginners.
Second, the effect map


3. Related downloads

https://github.com/do-project/code4do/tree/master/testALayoutAdd
Fourth, related discussions

http://bbs.deviceone.net/forum.php?mod=viewthread&tid=512&extra=page%3D1
5. More cases
http://source.deviceone.net/
6. About DeviceOne
http://www.deviceone. net/
----------------------------

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326365056&siteId=291194637