android - Add fragment to an inflated view -


i have listview. in adapter, in getview method, inflate view resources. want add fragment view. far concerned, fragments can added activity's view only; view created , not attached activity yet. how can it?

i have <fragment> tag in item layout, can't reference it, because view.findviewbyid() returns view , cannot cast fragment.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -