All Questions

2
answers

Open local file from browser

Hello, What is the most correct way to open a local file (shared drive via network) through the browser? The file must be opened through a local application (desktop) previously installed on the PC. Example: Link to an excel file, when click...
asked on 21.05.2018 / 08:53
1
answer

How to update RecyclerView simply and efficiently?

The ways I know to update a RecyclerView most efficiently is to use adapter methods notifyItemMoved notifyItemRangeChanged notifyItemRangeInserted notifyItemRangeRemoved They, unlike notifyDataSetChanged() , only cause refres...
asked on 18.01.2017 / 00:08
1
answer

Help with signal and slots (connect in slot of another file)

Good morning dear, I created a Qt Widget Application with Qt Creator (Qt 5.6.1). The project has the following structure: myproject.pro Headers dialogform.h mainwindow.h Sources dialogform.cpp main.cpp...
asked on 24.01.2017 / 13:18
1
answer

Entity Framework - What's the difference between EntityState.Modified and Sem EntityState.Modified?

What's the difference between the two? With EntityState: var registro = db.MinhaTabela.Where(a => a.MeuCampo == "Valor_Antigo").FirstOrDefault(); registro.MeuCampo = "Valor_Novo"; db.Entry(registro).State = EntityState.Modified; db.Sav...
asked on 03.02.2017 / 05:17
1
answer

Error in query with Dapper

Well, I'm trying to run a query on com with Dapper and get the following error:    The model item entered in the dictionary is of type 'System.Collections.Generic.List'1 [FertilityRate.Models.Pais]', but this dictionary requires an ite...
asked on 17.01.2017 / 17:26
1
answer

bring menus and active submenus C #

I have to make a query by the menu that I have to bring only the active submenus, see my code. return context.Set<Menu>().Include("MenuGroups") .Where(x => x.Id == id && x.MenuGroups.Any(z => z.Active))...
asked on 30.01.2017 / 16:02
1
answer

Using WYSIWYG editor with angle

I'm starting my studies now with angularJS. Well, I'm trying to add a WYSIWYG editor (" What You See Is What You Get "). to my script using angular 1.6.1 but I'm not getting the desired result. There is this in the OS where they list a c...
asked on 05.02.2017 / 17:39
2
answers

Which method to get the full volume of media on Android?

My application needs the user to choose at startup whether they want to hear the sounds of the app or not, as it is an application to also be used in the classroom and in that environment the volume of the app must be zeroed. > So I created a...
asked on 31.01.2017 / 16:37
2
answers

How do I get the names of all PostgreSQL database tables?

How to get the names of all PostgreSQL database tables? How to get the attributes (code, name, etc ...) of a given table in the PostgreSQL database?     
asked on 07.02.2017 / 19:20
1
answer

Why do some angular services use a dollar sign ("$") at the beginning?

I used some libraries written for AngularJS where Services were always written with a $ at first. For example, in the Angular Material we have the service $mdDialog , and in Angular Bootstrap we have the $uibModal . I al...
asked on 09.02.2017 / 14:13