Questions tagged [bindable]

The Bindable annotation should be applied to any getter accessor method of an Observable class. Bindable will generate a field in the BR class to identify the field that has changed.

87 questions
1
vote
1 answer

"Bindable" capability does not work in all situations

When I try to set the width of a BorderContainer to a bindable variable in Flex tags declaration it works well. Code looks something like this:
artaxerxe
  • 5,760
  • 18
  • 61
  • 100
1
vote
1 answer

How do I put a dictionary key pair into a picker in xamarin forms and retrieve the key value from the picker?

I have a xaml file where I put the picker in and a code behind to populate it. The code used below: Dictionary list = new Dictionary { { "Aqua", 6}, { "Red", 1 }, …
Scar
  • 655
  • 2
  • 7
  • 20
1
vote
1 answer

Xamarin.Forms SetBinding to Image so that it refreshes when its Source changes

I am trying to have images in my page update / re-draw when I change their ImageSource - this will help me have them re-load async. I thought having a bindable property for the imageSource bound to the image was a start, but it is not updating the…
1
vote
1 answer

BindableProperty: Type Mismatch

I want to extend the Xamarin.Forms Picker so I can bind a collection to it. After a quick search I found this page: Picker Example with two great examples. Refusing to just copy&paste the code (for learning purposes) I went on and make my own based…
Noel Heesen
  • 163
  • 3
  • 12
1
vote
1 answer

Xamarin.Forms Bindable Picker

I have 2 pickers. On changing any value in first picker the second picker elements should change. My issue is on selectIndexchanged() of first picker I am clearing secondpicker list by picker2.items.clear(). But if i select a value in second picker…
1
vote
1 answer

Flex: make getter Bindable in an value object

I have an value object in Flex which looks like: [Bindable] public class MyVO { public var a:ArrayCollection; public var b:ArrayCollection; private var timeSort:Sort; public function ShiftVO(){ timeSort = new Sort(); …
hering
  • 1,916
  • 4
  • 28
  • 43
1
vote
1 answer

Groovy Bindable default value?

I would like to have a text field whose value always reflects that of a certain field in a given object. I thought Bindable might be the way to do this. However, using the following example: #!/usr/bin/env groovy import…
Миша Кошелев
  • 1,423
  • 1
  • 21
  • 41
1
vote
1 answer

Combine Hibernate class with @Bindable for SwingBuilder without Griffon?

I have implemented a back-end for my application in Groovy/Gradle, and am now trying to implement a GUI. I am using Hibernate for my data storage (with HSQLDB) per http://groovy.codehaus.org/Using+Hibernate+with+Groovy (with Jasypt for encryption)…
Миша Кошелев
  • 1,423
  • 1
  • 21
  • 41
1
vote
1 answer

binding to arraycollection does not work

I am using flex SDK 3.5. I have model.as and in it i have an ArrayCollection (name it arr_mod) which is Bindable. From my mxml i link to this arr_mod in three places: 1) in DataGrid i set dataprovider={arr_mode} ... 2) in Button i add new item to…
ronk
  • 203
  • 1
  • 5
  • 12
1
vote
1 answer

Asp.net UserControl - How to Data-Bind objects from a list?

I am using asp.net 4.5 c#. I have created a user control with the following member inside: [Bindable(true)] public Product item { get{ return _product; } set { _product = value; …
Programer
  • 965
  • 3
  • 20
  • 45
1
vote
3 answers

Exceptions to groovy's bindable/vetoable property change listeners

It appears that there are two situations where assignment to a bound groovy property through @Bindable does not call the listeners: (1) In the case where the property is assigned within the class itself, such as this.prop = newval, or, simply, prop…
inyourcorner
  • 661
  • 7
  • 21
1
vote
0 answers

Different Behavior found when compile option - keep-generated-actionscript (SDK 4.6.0)

Is [Bindable] meta tag need to be added in the subclass if the [Bindable] property is overridden? ParentClass [Bindable] public get enabled: Boolean public set enabled(value:Boolean) SubClass public override set enabled(value:Boolean) I tried to…
0
votes
1 answer

Unable to bind 'foo' on class 'Foo'

I know the 'unable to bind msg' has been asked before but I think in my case is different... When my application is running on debug mode I get some warnigs I'm not sure how I can solve... [trace] warning: unable to bind to property…
kkudi
  • 1,583
  • 4
  • 23
  • 47
0
votes
4 answers

Listen to bindable property in bindable Arraycollection

I've got a bindable model class (lets call it myModel) with two properties, label and value. The value gets updated frequently, so it is marked as bindable. Works fine so far, the data is updated and the standard property change event is…
AlBirdie
  • 2,061
  • 1
  • 21
  • 45
0
votes
1 answer

Flex: binding tab labels to variables

I'm using a custom tabbar with the dataProvider being a viewstack and I'm trying to get the tab labels to update when data in the related container (in the viewstack) updates. The viewstack's containers are bound to bindable vars, so if a var…
Seaux
  • 3,189
  • 2
  • 23
  • 27