开发者

How to specify a constructor for layouts in Android?

开发者 https://www.devze.com 2023-02-22 22:23 出处:网络
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 l

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消