[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread Mark Murphy
arnouf wrote: Hi all, My code is following class MyAdapter extends View{ public MyAdapter(Context context, ContactPerso contact) { super( context ); inflate(context, R.layout.myadaptercontact, null);

[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread arnouf
Now it's ok but I don't see my layout :( As my view was not loaded correctly :( Thanks MArk for your help (and your book :)) On Dec 18, 2:05 pm, Mark Murphy mmur...@commonsware.com wrote: arnouf wrote: Hi all, My code is following class MyAdapter extends View{ public

[android-developers] Re: Inflate a view and retrieve widget

2008-12-18 Thread arnouf
Ok it's working - I would like to be too complex :) Thank you On Dec 18, 2:26 pm, arnouf arnaud.far...@gmail.com wrote: Now it's ok but I don't see my layout :( As my view was not loaded correctly :( Thanks MArk for your help (and your book :)) On Dec 18, 2:05 pm, Mark Murphy