android - Footerview not displaying always when scrolling the listview -
android - Footerview not displaying always when scrolling the listview -
i have listview adapter. want add together footer , footer displayed when scrolling listview. right code footerview displayed when listview finished. in oncreate method of list have:
protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_listado_imagenes_subidas_main); // load list application listimagenes = (listview)findviewbyid(r.id.lvimages); layoutinflater inflater = getlayoutinflater(); viewgroup footer = (viewgroup) inflater.inflate(r.layout.footer3buttons, listimagenes, false); listimagenes.addfooterview(footer, null, false); // create new adapter imagenesadapter adapter = new imagenesadapter(this, listadoimagenes()); // set adapter list view listimagenes.setadapter(adapter); }
could please help me issue?
thank in advanced.
if understood correctly wan't "sticky" footer addfooterview
method add together footer after lastly view item, sticky footer have roll own, or utilize external library it.
android android-listview footer
Comments
Post a Comment