Add data binding for current search term
See original GitHub issueIs your feature request related to a problem? Please describe. It would make life easier to build custom behavior related to searching if the component supported data binding for the current search term.
Describe the solution you’d like
A new API field [searchTerm]
or similar that reflects the current state of the search field.
Describe alternatives you’ve considered
Right now I have to keep track of current search term with callbacks. Currently to do this requires coordination across multiple callbacks of (search)
, (clear)
, and (close)
because all of these modify the current search term. Providing the data binding is much simpler.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Layouts and binding expressions | Android Developers
The Data Binding Library automatically generates the classes required to bind the views in the layout with your data objects.
Read more >Applying Data Binding for Views | CodePath Android Cliffnotes
Android has now released a stable data-binding library which allows you to connect views with data in a much more powerful way than...
Read more >Dynamic data bindings - Google Web Designer Help
Dynamic data bindings link the creative elements of a dynamic ad with information in a data feed. A data binding has three parts:...
Read more >How to use data-binding with Fragment - Stack Overflow
You can use bind(view) method of concrete binding class to get ViewDataBinding instance for the view . Usually we write BaseFragment something like...
Read more >Databinding in Android. Learn the easiest way to bind data to…
Now let's wrap the above layout with <layout> and <data> tags. This you can do either adding tags manually or right click on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
this is how you can access it in HTML. In typescript, you would need to use
@ViewChild
Issue-Label Bot is automatically applying the label
feature_request
to this issue, with a confidence of 0.97. Please mark this comment with 👍 or 👎 to give our bot feedback!Links: app homepage, dashboard and code for this bot.