I would like to create a custom view that will allow for the "plug-in" layout routine. Like to set up so that when the child's view is added, it automatically takes shape in the size of the parent and relative of other brothers.
What is the correct way to do this in titanium? A "true" object is not an oriented language, overriding the "add ()" method seems like a bad idea. Is there any type of "layout" event for which I can register? Am I thinking about it wrongly? Any suggestion would be appreciated!
I'm not sure that this will work what you want, but reusable with Appcelerator To achieve the functionality of the genre, I have used the appellant's writing by Kevin Whinerer. It allows you to write the factory functions, essentially the constructor, where things you want to automate, such as in a basic view Resize , Can be explained to re-use you can use the configuration object to the constructor to change the layout of your building, make this type pluggable.
Comments
Post a Comment