Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 61 Topic 7 Discussion

Huawei HCIP-HarmonyOS Application Developer V1.0 H14-231_V1.0 Question # 61 Topic 7 Discussion

H14-231_V1.0 Exam Topic 7 Question 61 Discussion:
Question #: 61
Topic #: 7

If a developer uses custom components when developing a HarmonyOS application, what are the correct descriptions of custom components below?


A.

Add tag elements such as styleable and item to values/attrs.xml


B.

In the constructor with the AttrSet parameter of the custom component, useattrSet.getAttr("XxX").get().getStringValue() to get the property


C.

Add xmlns:app="http://schemas.huawei.com/apk/ res/ohos"to the layout.xml of the component definition


D.

In the constructor of the custom component, call array.getlntegor(ResourceManager.styleab1e.***,100)to get the property


Get Premium H14-231_V1.0 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.