Some UI logic occurs in application code and other UI logic is in the layout XML. It would be nice to understand all of this logic in a uniform way. A nice way forward would be to generate a special droidel_onCreate method for each UI component containing stubs encoding the semantics of the layout XML. This method can be inserted into the lifecycle for the UI component and handled by the call graph construction/analyzer in the same way that these tools understand normal code.
Some UI logic occurs in application code and other UI logic is in the layout XML. It would be nice to understand all of this logic in a uniform way. A nice way forward would be to generate a special
droidel_onCreate
method for each UI component containing stubs encoding the semantics of the layout XML. This method can be inserted into the lifecycle for the UI component and handled by the call graph construction/analyzer in the same way that these tools understand normal code.