All Questions

2
answers

Problems with importing libraries

I started developing for Android in my work and they asked me to start by changing some simple things from an already existing project, which works and has already been released (the version I'm trying to test). But I can not run it at all. I...
asked on 22.05.2015 / 22:33
3
answers

Foreach by reference or by value? [closed]

Is there any difference in performance and security between using foreach by reference or by value? I always use the first option (when needed) because I find the code less confusing to read. Reference: Here I change all the values of an a...
asked on 13.10.2016 / 16:36
1
answer

Simple Injector + UoW + DDD + Multiple Contexts + Entity Framework

I need to know how to apply IoC for two contexts. The scenario is as follows: I have a Layer called Core (allocates classes that I can reuse in other layers), where I put the interface of IDbContext, IUnitOfWork and UnitOfWork (among ot...
asked on 03.12.2016 / 20:58
1
answer

Change ActionBar menu icon

I want to change the menu icon of ActionBar , those 3 points that have the default option "Settings". I've already tried Style by creating a custom theme and there putting the new icon but it did not work. <style name="CustomActivit...
asked on 07.05.2015 / 19:13
2
answers

How to shorten the build time?

I have a solution with 20 projects, and most have a dependency relationship with each other. Compilation time takes a long time (6-8 minutes - may seem minor, but it hurts a lot when testing), even with changes to only one of the projects. The...
asked on 25.12.2016 / 14:07
1
answer

AddOrUpdate - use array as parameter

I'm running tests with the Entity Framework and I had a problem putting a array as a parameter. Is this behavior normal? If yes, what name? It works List<Product> product = new List<Product>() var p = product...
asked on 04.11.2015 / 15:32
1
answer

What does AngularJS MVW mean?

When you search Google for Angular, it is returned:    AngularJS - Superheroic JavaScript MVW Framework I know that MVC stands for Model-View-Controller but what is the W of the MVW Framework ? Is this a new software architect...
asked on 25.05.2017 / 22:26
2
answers

Catching elements around a selected array

The idea is to create an array of integers with the amount of rows and columns defined by the user. Then an existing value in the array must be entered and the program should return the values immediately to the left, right, above and below the...
asked on 30.08.2018 / 16:26
2
answers

Resize image with PHP while maintaining proportion

I'd like to resize images by proportion from a remote link using PHP. Is this possible? Type:    link for    link Note: In this case, the 2 addresses belong to me. No image theft.     
asked on 19.03.2014 / 02:47
4
answers

What is the canvas tag for?

I was searching some information and saw that there is a tag called <canvas> in HTML5. What does canvas tag do? Is it only for geometric shapes? If it is possible and feasible, could you give an example? In this other qu...
asked on 28.06.2017 / 20:07