MvvmCross / MvvmCross-AndroidSupport

Android support library packages for MvvmCross: The .NET MVVM framework for cross-platform solutions.
http://mvvmcross.com
15 stars 0 forks source link

Navigation issue (?) #193

Closed nicolgit closed 8 years ago

nicolgit commented 8 years ago

I'm new to Android programming so I'm not sure if this is correct but I'd like to implement this sequence:

(1) start a fragment (home page) (2) go to an activity (I need to show a full screen page) (3) show another fragment activity

In the attached sample I have added a button on MessageActivity that jumps to ExampleRecyclerViewModel.

this is the sequence: (1) start application (2) open compose message activity (from menu) (3) tap on "click me" button (" ShowViewModel ();") (4) Instead to show ExampleRecyclerViewModel an exception is raised

"ava.Lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.ArrayList.set(int, java.lang.Object)' on a null object reference"

Is this my misunderstanding or a bug? How can obtain this behavior?

thank you!

MvvmCross-AndroidSupport-master.zip

Cheesebaron commented 8 years ago

Please use the issue template and provide a minimum reproducible sample.

nicolgit commented 8 years ago

Hi @Cheesebaron , thank you for your reply! The minimum reproducible sample is the link included in my first message.

in order to repro the issue:

(1) start application (example.droid) (2) open compose message activity (from hamburger menu= (3) tap on "click me" button (" ShowViewModel ();") (4) Instead to show ExampleRecyclerViewModel an exception is raised

please let me know if you need any further information,

Cheesebaron commented 8 years ago

If you read the issue template that you disregarded entirely we write:

please provide that in a standalone github repository and link it here.

No zip files please.

nicolgit commented 8 years ago

yes, MEA CULPA I didn't read it:-)

Ok, I'm doing asap Thank you! N

nicolgit commented 8 years ago

Here the git repository: https://github.com/NicolaDelfino/NicolGit-Tmp-01