These are chat archives for Nethereum/Nethereum

24th
Oct 2018
mosinms7711
@mosinms7711
Oct 24 2018 12:22
hello i am refering https://github.com/Nethereum/Nethereum.UI.Wallet.Sample for first nethereum assignment but i am using traditional mvvm so all the interface values are coming null…can you please help me with this.?
Juan Blanco
@juanfranblanco
Oct 24 2018 12:24
@mosinms7711 that uses traditional MVVM
as traditional as it can be
what is your setup?
mosinms7711
@mosinms7711
Oct 24 2018 12:25
@juanfranblanco in current repo they used MVVMCross...
you are missing dependency injection registration
mosinms7711
@mosinms7711
Oct 24 2018 12:27
ok
Juan Blanco
@juanfranblanco
Oct 24 2018 12:27
that uses MVVMCross IoC
mosinms7711
@mosinms7711
Oct 24 2018 12:27
let me check @juanfranblanco thank you for help
Juan Blanco
@juanfranblanco
Oct 24 2018 12:27
but you can use your preferred container
mosinms7711
@mosinms7711
Oct 24 2018 12:28
In their repo they dont need to pass parameter but because traditio
method i have pass all the parameter and there i stuck
Juan Blanco
@juanfranblanco
Oct 24 2018 12:31
actually i have not created a sample with parameters
obviously that uses cross
mosinms7711
@mosinms7711
Oct 24 2018 12:32
in BalanceSummaryViewModel some parameter is passed...
Juan Blanco
@juanfranblanco
Oct 24 2018 12:33
ha ha i have not checked this for a while :)
well that is the sample
mosinms7711
@mosinms7711
Oct 24 2018 12:33
i want to use traditional MVVM only not cross one…so can you help me with this
Juan Blanco
@juanfranblanco
Oct 24 2018 12:37
well not really :)
there are 3 samples in here already
mosinms7711
@mosinms7711
Oct 24 2018 12:38
ok
Juan Blanco
@juanfranblanco
Oct 24 2018 12:38
the most MVVM you have is the Xamarin one using Cross
mosinms7711
@mosinms7711
Oct 24 2018 12:38
Then i have to find out something to pass that parameter...
Juan Blanco
@juanfranblanco
Oct 24 2018 12:38
the others whilst structured as MVVM they are "missing" the dependency injection etc
mosinms7711
@mosinms7711
Oct 24 2018 12:39
ok
Juan Blanco
@juanfranblanco
Oct 24 2018 12:39
mvvm cross
mosinms7711
@mosinms7711
Oct 24 2018 12:39
in mvvm cross we dont need to pass parameter to view model from views
Juan Blanco
@juanfranblanco
Oct 24 2018 12:39
uses at the time of navigation and creating a new instance
adds the parameters
so yes you add the parameters
mosinms7711
@mosinms7711
Oct 24 2018 12:40
Ok
let me check the same.
Juan Blanco
@juanfranblanco
Oct 24 2018 12:41
that is why you use a framework, so you dont have to create it yourself :)
so you get the binding, dependency injection, navigation, shell etc out of the box.. although it would be nice to have rx too :)
mosinms7711
@mosinms7711
Oct 24 2018 12:48
Ok...
i have just added a few bits to the original..
mosinms7711
@mosinms7711
Oct 24 2018 12:50
thank you
Sergio Piedrahita
@spied001
Oct 24 2018 17:33
@spied001 have you code generated your inferface? if you use FuctionMesssages or DeploymentMessages it should be automatically estimated for you
@juanfranblanco do you have an example where I can look how to deploy the contracts through FunctionMessages or DeployMessages ?
@spied001 if you code generate it a service is created for you also, for further simplicity and less typing
Sergio Piedrahita
@spied001
Oct 24 2018 20:09
@juanfranblanco I wish I knew about this when our team started the project, thanks Juan