TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
yan cus
NA
124
2.9k
Fetch items and use filters in listview Xamarin.Forms
Jan 28 2021 12:27 PM
https://docs.microsoft.com/en-us/samples/xamarin/xamarin-forms-samples/getstarted-notes-database/
I have 2 questions, assuming Notes is already filled with data:
<ContentPage ..
<StackLayout>
<Button Text=
"DateFirstFromListViewItem"
Clicked=
"OnClickFilterListViewBetwenBtn1TextAndBtn2"
x:Name=
"Button1"
/>
<Button Text=
"DateLaststFromListViewItem"
Clicked=
"OnClickFilterListViewBetwenBtn2TextAndBtn1"
x:Name=
"Button2"
/>
<ListView x:Name=
"listView"
ItemSelected=
"OnListViewItemSelected"
>
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text=
"{Binding Text}"
TextColor=
"Black"
Detail=
"{Binding Date}"
/> <!-- THIS DATE -->
</DataTemplate>
...
</StackLayout>
</ContentPage>
1. How do we send Date from the first ListView item to Button1 and the last Date to Button2.
2. When button1 or button2 is clicked, listView will automatically adjust between button1 and button2 date.
Hopefully this can be resolved. Thank you.
Then on NotesPage.Xaml, I added 2 buttons above the
Reply
Answers (
2
)
how to get mobile number in xamarin form
How to reject same time data before saving to Sqlite Net Pcl