Posts by Vinicius Dutra • 517 points
28 posts
-
1
votes1
answer42
viewsQ: Is there the possibility of data loss while converting text data types to nvarchar(max)?
I have a legacy database in production with data stored with the type text but there was a need to convert them to nvarchar(max) and by chance I saw that this was already a recommendation from…
-
0
votes1
answer62
viewsA: Xamarin.Android does not update Resource.designer in C# Visual Studio 2019
Hello @Thiago Cordeiro, Considering the little information you provided, I can suggest the following attempts to verify if your problem is solved. 1) Clean the contents of Resource.designer…
-
1
votes1
answer28
viewsA: Observablecollection is not populating
Hi @RRV In your View constructor you must set Bindingcontext to your Viewmodel: public partial class MinhaView{ public MinhaView(){ ChannelViewModel ViewModel = new ChannelViewModel();…
xamarin-formsanswered Vinicius Dutra 517 -
3
votes1
answer104
viewsA: How to use Promises with button in Javascript?
Hello @Beta Tester, Its implementation is wrong on the following point: buttonElement.onclick = gitPromise().then(function(response) { console.log(response); }) .catch(function(error) {…
-
0
votes1
answer58
viewsA: I can’t build the iOS app for publication
Hi @pnet! This problem you are having concerns the certificates. To publish applications on a real device, you need to create an Adhoc type certificate (if it is debug, it must have the device that…
-
1
votes1
answer73
viewsA: How to access in Viewmodel, a Listview q is in a View?
Hello @Guilherme Petena! Although this is not a practice recommended by Microsoft when building apps using Xamarin(see documentation to learn more) You get what you’re talking through in the…
-
0
votes3
answers97
viewsA: Navigation.Popasync() does not work when used as an option to exit the application
Hello @Domingos Neto, As has already been said, Navigation.PopAsync() is a method to pop windows in your application, since there is only one window such method will not be useful. Regarding your…
-
0
votes1
answer22
viewsA: Can or cannot Notifypropertychanged exist in the public properties of a Model?
Hello, @MATCH. If you are referring to the interface INotifyPropertyChanged, this is a contract to ensure data change timing between View and Viewmodel(in this case does not enter the model). When…
-
5
votes1
answer230
viewsA: How to add a Whatsapp link to a contact
The official Whatsapp API says to use: https://api.whatsapp.com/send?phone=countrycode+phonenumber soon to its context would be as follows: <th><a…
-
1
votes3
answers381
viewsA: Difference between Jquery.Append() and Jquery.Html()
.append() will include the content(or DOM object) at the end of the context element in question, while .html() will overwrite the entire content within the context element in question with the new…
-
1
votes0
answers18
viewsQ: Httpmessagehandler vs Delegatinghandler
DelegatingHandler inherits from HttpMessageHandler. But I did not understand the difference, since it is necessary to implement the same method: SendAsync, to perform the same operation. What’s the…
-
2
votes3
answers95
viewsA: How can I copy content from a div to a hiddenfield?
Your code is dirty, with implementations that do not apply to the question. But I will try to help you. To get the contents of hiddenField is enough: var conteudo =…
-
0
votes2
answers70
viewsA: Is it better to use overloading or add an "if" with the optional parameter?
Your question concerns design standards, i.e., the answer will depend on this requirement. But, Both cases work, but using the Overloading gets much more elegant, in addition to making it easy to…
-
0
votes2
answers186
viewsA: How to recover a string from another page in Xamarin?
You can do this easily using Messagingcenter, where basically its function is to carry out communication between objects, which in your case are different pages. For this just configure the…
-
0
votes3
answers304
viewsA: How to create a Standard Deviation Mobile Window (R)
In 2018, you can do this in a much more elegant way through a Dataframe of Pandas. window = 10 rolling_std = meuDataFrameDoPandas['PETR4'].rolling(window = window).std()…
-
0
votes2
answers1157
viewsA: How to make a foreach in Javascript?
May I suggest using Ecmascript’s native foreach, but if you wanted to support older browsers, simply include a simple polyfill in your application: if ( !Array.prototype.forEach ) {…
-
1
votes1
answer184
viewsA: Open gallery [CORDOVA]
I believe this plugin is what you are looking for: https://github.com/jverlee/cordova-plugin-inappbrowser-camera I hope it helps.…
-
0
votes4
answers2082
viewsA: Compare a table field with another table
Hello, Marcilio, my suggestion would be to use a simple Join: SELECT CAST(CASE WHEN GMUNICIPIO.CODMUNICIPIO IS NULL THEN 0 ELSE 1 END AS BIT) AS EXISTE, PPESSOA.NOME FROM PPESSOA LEFT JOIN…
-
0
votes2
answers113
viewsA: problems increasing decimal place within loop for
You’re doing it right, the problem is with the lack of precision when dealing with floating points. to fix this problem use the toFixed fution present in the numbers of type float passing as…
-
0
votes2
answers312
viewsA: Sort Vector Increasingly with Angularjs
If your final goal is to show on screen through the directive ng-repeat you can sort directly during the process this way: <tr ng-repeat="menor in menores | orderBy:'-minimo'"></tr> Or…
-
1
votes3
answers3722
viewsA: How to extend a DIV to the end of the screen?
I recommend using the technique of Sticky Footer, if there is a need for compatibility with older browsers. Your HTML structure would look like this: * { margin: 0; } html, body { height: 100%; }…
-
0
votes1
answer63
viewsA: Fill a select via jquery in cakephp
Your application will need to perform two operations: 1) Parse the string in JSON format for javascript, there are several forms on the internet, either with pure Javascript or with libraries, but I…
-
1
votes2
answers660
viewsA: android Cordova camera plugin problem
Instead of using the parameter Camera.DestinationType.DATA_URL use Camera.DestinationType.FILE_URI for memory problems already known. then I’d be like this: function onSuccess(uriSrc) { var image =…
-
1
votes2
answers608
viewsA: How to hide Keyboard in Cordova by pressing "Go" or "Done"
I believe that with the idea of @Eduardocalixto works, but you need to test, of course. But the logic is as follows: Attach an event to the controller that you want to have this behavior. In agular…
-
4
votes1
answer514
viewsA: Passing an object to a Bootstrap modal
I can see two ways you can go: 1 - Use the HTML5 date attribute to pass data to the modal, via JSON, for example. data-meu-atributo="{valor:1, valor2:2}. 2 - Use an Ajax call in the event callback…
-
1
votes1
answer115
viewsA: Phonegap + Cordova + sqlite
According to this article This is a problem caused by the fact that phonegap simply ignores its pre-populated bank. In the same link I mentioned above the author informs with details how to get…
-
2
votes4
answers1962
viewsA: How to repeat the fields of a form?
You can put the elements you want to clone inside a fieldset, thus: <fielset id="group"> <label for="nome">Nome do amigo</label> <input type="text" required classs="form__input"…
-
3
votes5
answers1091
viewsA: Pros and cons of a 100% HTML/Javascript web application
I had made a mistake of interpretation of the question, so I decided to restructure my answer. I hope it helps in solving your question. Pros: Centralization of access to the data source which…