Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8876077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:07:35+00:00 2026-06-14T19:07:35+00:00

I built a MvxBindableSpinner into my Android-Application: <TableRow> <TextView android:text=Mandant: android:width=0px android:layout_weight=.22 /> <cirrious.mvvmcross.binding.android.views.MvxBindableSpinner

  • 0

I built a MvxBindableSpinner into my Android-Application:

<TableRow>
    <TextView             
      android:text="Mandant:"
      android:width="0px"
      android:layout_weight=".22" />
      <cirrious.mvvmcross.binding.android.views.MvxBindableSpinner
        android:layout_weight=".78"
        local:MvxDropDownItemTemplate="@layout/mandantlistitem_dropdown"
        local:MvxItemTemplate="@layout/mandantlistitem"
        local:MvxBind="{'ItemsSource':{'Path':'Mandanten'},'SelectedItem':{'Path':'SelectedMandant','Mode':'TwoWay'}}"/>
</TableRow>

The MandantClass is simple:

//Class
public class Mandant
{
    //Properties

    public string MandantBezeichnung { get; set; }
}

The problem I have is, that the SelectedItem isn’t working.. its alway “null”, whatever I choose.. The Property on The ViewModel for the SelectedItem looks like this:

    private string selectedMandant;
    public string SelectedMandant
    {
        get { return selectedMandant; }
        set { selectedMandant = value; FirePropertyChanged(() => SelectedMandant); }
    }

I tried everything, but can’t get it work.. It compiles fine and no errormessages.. but its always null.. Maybe someone can help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T19:07:36+00:00Added an answer on June 14, 2026 at 7:07 pm

    There are a few things I can suggest about how to debug/fix this.


    First, can you set the binding trace level to Diagnostic – somewhere in your code call:

     MvxBindingTrace.TraceBindingLevel = MvxTraceLevel.Diagnostic;
    

    Does this reveal any more information about what is failing?


    Second, if you are linking to the source code then try setting a breakpoint and/or adding some additional trace inside _spinner_ItemSelected in MvxSpinnerSelectedItemBinding – is this binding event being fired? Is it succeeding all the way through to the FireValueChanged call?

    Depending on what that reveals, then try other debug steps like maybe tracing in MvxBindableSpinner.cs.


    Third… can you try comparing to an existing sample – I think the Spinner idea came from https://github.com/Zoldeper/Blooor/ originally – so maybe take a look at something like ProductEditView.axml

    Does that code work? If so, can you spot the difference.

    Warning: the code may have changed since that Blooor sample was written


    Finally… and this is just a hunch… can you post a bit more of your ViewModel here? I’m wondering if you have a type mismatch going on… e.g. is your selectedItem a string but should be a Mandant?


    If this is a bug in MvvmCross, then ‘sorry’ and please report it as an issue – on https://github.com/slodge/MvvmCross/issues – preferably with a reproducible sample.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I built a windows application in C# that is very size specific. I hard
I built a very simple MVC3 application to do a little demo, but I'm
I built an application for Facebook a couple of months ago. I used the
We built a grant application system for a client. They've now asked for some
I built an application which displays the records from database in the window and
I built a bilingual application with CodeIgniter and now I need 2 cron jobs
I built a Django application for a client about a year ago. He has
I built an app in Android which updates a particular database. Now my boss
I built a web application that uses the J# libraries which works fine in
I built a console application and I'm trying to test if my application works

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.