Category "data-binding"

Android Databinding Cannot find a setter for * that accepts parameter type *

Am trying to declare a variable in databinding layout it's type is array of integer but I getting an error when building the project Cannot find a setter for &

Databind Object to Winforms DatagridView with ComboBox

Currently I'm trying to databind object properties to a datagridview. The thing is that the datagridview should have a combobox column, where the user has to ch

Why not use lateinit modifier in Andrioid Fragment view-binding?

In android documentation we have example of view binding without lateinit: private var _binding: ResultProfileBinding? = null // This property is only valid bet

Dynamic list of custom items each with edit button. How to button binding?

I tried importing ObjLargeBinding, but idk what to do from there. Do I have to dynamically setOnClickListeners for each objective on screen? ''' import android.

Databinding generated in the wrong package

I have several modules in my project and I've renamed one of them (including the packages). This module is an Android Library module with databinding enabled. A

Change Package Name after implementation of data binding

I'm using Databinding with one of my project with project name com.abc.def. I've related all my views with binding like ActivityLoginBinding binding = DataBin

Cannot find governing FrameworkElement, Yet it works like intended (WPF)

I have a binding that gives me an error, yet everything works exactly like it should. I have a Custom Control with it's style/template in "Generic.xaml", in the

java.lang.NullPointerException: DataBindingUtil.setConte….layout.activity_chapter) must not be null

I have just build a project with android kotlin but when I run the app it got crash, and in the logcat I found this error java.lang.NullPointerException: DataB

XAML UWP - How to use animations in RenderTransform on elements in a ItemsControl (Data Binding)

I want to show a collection of images with entry animations (opacity, translation and rescaling) in a UWP app. How do I apply unique storyboards to each of the

Filtering an observable array into another observable array (of another type) by an observable property of the items

As the title probably doesn't explain to well what I am doing, I'll give a small example: A REST api returns a list of objects. For each of them, a checkbox sh

Can I use MVVM without data binding?

I am trying to use MVVM. Upon reading some blogs on MVVM, I found them using data binding techniques like Rx, KVO, Boxing etc. Following are my classes for vali

WPF bind list box Selected item into textbox

I'm trying to put any selected item's name in my list box in the textbox next to it. But I've got trouble doing so. Here's a little bit of my code: <Doc

How to use lombok with Kapt3

When I try to run Java/Kotlin android application with Lombok while using Kapt3: apply plugin: 'kotlin-kapt' javac compilation fails with numerous error: ca

Accessing a static object from Style/template in Generic.xml?

I have a double called LoadAnimAngle which simply holds the angle of a spinning loading icon, which gets rotated over time. This variable is defined in my MainV

How to bind elements in separate xaml files?

I have a MainWindow.xmal which has two TabItems: <TabItem Header="Config" ... /> <TabItem Header="Results" ... /> I have a separated Config.xaml

How to scroll Listview Item to a next item on click the next Item Programatically Wpf

I am trying to build a scrollable Calendar. I am getting values from a JSON dynamically from which I am using minimum year and maximum year and so on. Below is

WPF nested data binding to control - why does it not work

I have searched google and stackoverflow alot to find a answer to my question without any luck. I find the solution to the problem. Ex: Data Binding to Nested

How can I link Image Source = "?" with Value from DataTable (path image) in WPF?

I am looking to change the value Source = "img / Best / 1.png" for the DataGrid cell that I clicked on, with a click, a button, any option. How can I bind the v

Angular 13: Dynamic Html with data binding

My Requirement is to bind data to dynamically added HTML content. for i.e, app.component.html <div> <p> {{data.name}} </p> <div cla

Binding to a structure

I am trying to bind a listview item to a member of a structure, but I am unable to get it to work. The structure is quite simple: public struct DeviceTypeInfo