How to specify a constructor for layouts in Android?
Is there a proper way to call a function when i change to another l开发者_如何学Goayout? I haven't found any methods to set a constructor for a layout, so i just call a function after i changed the layout with setContentView().
So i wonder if there is a better way than this.
Thanks.
精彩评论