Check out example codes for "list with search bar uwp c#". It will help you in understanding the concepts better.

Code Example 1

void OnBtnPressed(object sender,EventArgs ea)  
{  
   var keyword = MainSearchBar.Text;  
   MainListView.ItemsSource =  
   names.Where(name => name.ToLower().Contains(keyword.ToLower()));  
}

Learn ReactJs, React Native from akashmittal.com