Saturday, 10 August 2013

How to add footerview to MvxListView

How to add footerview to MvxListView

I am using MvxListView in MVVMCross https://github.com/slodge/MvvmCross
I add FooterView to MvxListView as following:

LayoutInflater _inflatorservice =
(LayoutInflater)this.GetSystemService(Context.LayoutInflaterService);
View view =
_inflatorservice.Inflate(Resource.Layout.footer_layout,null,false);
listView.AddFooterView(view);
But I can't see the footer view in ListView when I run the application.
How can I display footer view in MvxListView? Thanks

No comments:

Post a Comment