Question: The situation : I have a list of view which contains an EditText. I want the user to be able to modify the text and only send his new text to the viewmodel when he press on the done button on the keyboard. My edit text is binded has follow

```
<EditText
   android:id="@+id/textNumero"
   android:layout_width="0dp"
   android:layout_height="fill_parent"
   android:layout_weight="0.23"
   android:textColor="#ffffffff"
   local:MvxBind="Text BarilId" />

```

I found on the internet that i can you use this event to do what i want: 

```
idEditText.OnEditorAction (ImeAction.Done) += //insert delegate here

```

Unfortunately, i can't reach my activity since i'm binding the class in my list.

So, i thought of binding a command in my class like this:

```
<EditText
       android:id="@+id/textNumero"
       android:layout_width="0dp"
       android:layout_height="fill_parent"
       android:layout_weight="0.23"
       android:textColor="#ffffffff"
       local:MvxBind="OnEditorAction EditCommand"
       local:MvxBind="Text BarilId" />

```

The command :

```
    private IMvxCommand _editCommand;
    public IMvxCommand EditCommand
    {
        get {
            _editCommand = _editCommand ?? new MvxCommand(() => {
                //do validation here
            });
            return _editCommand;
        }
    }

```

But I don't know how to pass the `ImeAction.Done` to my command or if i even receiving something like that.

Can i have some help on the remaining part?

Answer: 
Assuming @Jinesh Sutar is correct in the above comment, to change your multiple variables into a single categorical variable you can use the following syntax. `varx` and `newvar` would obviously need renamed for your dataset.

```
IF (var1=1) newvar=1.
IF (var2=1) newvar=2.
IF (var3=1) newvar=3.
IF (var4=1) newvar=4.
IF (var5=1) newvar=5.
IF (var6=1) newvar=6.
IF (var7=1) newvar=7.
IF (var8=1) newvar=8.
IF (var9=1) newvar=9.
IF (var10=1) newvar=10.
IF (var11=1) newvar=11.
EXECUTE.

```
Nikhil, if I am correct, the data you must be having is in **checked/ unchecked** form. You need to convert it into **Item numbers per column**. This can be done using vectors in SPSS:

```
vector multin = var1 to var11.
loop #i=1 to 11.
if (multin(#i)=1) multin(#i)=#i.
end loop.
exe.

```

Using this, there is no need to create a new variable(newvar).