Questions tagged as 'view'

1
answer

ViewHolder Pattern in an Activity

Suppose I have an Activity with its layout and, using ButterKnife and the ViewHolder Pattern, I create a nested class in which I step the View root and inject the ButterKnife in it. The goal would be for example, instead of passing View by View...
asked by 19.01.2018 / 18:39
1
answer

Validation of form - AngularJS

I'm trying to validate a simple form, where when the user leaves some field blank a div is shown with this error. Follow the code var playlistApp = angular.module('playlistApp', []); playlistApp.controller("LucasCtrl", ['$scope', functi...
asked by 28.01.2018 / 01:47
1
answer

Alternative to the use of view variables in mysql

I need to create a view that gets the percentage of each product in relation to the total of products, I made the query below and it works as a normal select: set @total := (SELECT round(sum(gin.Caixa_9L /1000),4) FROM gin where sales_channel...
asked by 10.04.2017 / 15:20
3
answers

How to access components of the view that are inside a ListView Xamarin Forms

I need to access the properties of the components created in View to set some values (example height and width), but they are within a ListView , so in .cs I can not give this. with x:Name . I tried this way, but it...
asked by 29.12.2016 / 19:19
1
answer

How to get the value of a Dropdownlist to choose the action to execute

I ask your help in helping me put the following situation together: I have a structure in EF database first where I have a type that the user must select and after selecting this type in the dropdownlist it must trigger a corresponding action...
asked by 07.01.2016 / 17:59
2
answers

How to rewrite the initial array and remove items by ID in the smarty view?

I'm using the View rendering library with Smarty . In my view, I have an output with the array of product information inside a foreach: {assign var='remove_products' [712, 716, 717, 718, 719, 720, 745, 755, 758]} {foreach from=$product...
asked by 08.12.2015 / 19:42
1
answer

How to open a Dialog without darkening the Android background screen [closed]

I have an Activity, and in this I call a Dialog, but when I open this 'popup' the Background Activity screen that called it darkens, but I wish it did not happen. Can you do that?     
asked by 30.10.2015 / 13:38
2
answers

How does a view appear inside the ViewController after pressing a button?

I'm starting to program in Swift and would like to know how to hide and show a view that is inserted in ViewController after a button is pressed. > In the app, the user will pass some data and click the button, clicking on the butt...
asked by 15.07.2015 / 14:16
1
answer

How to populate a code column for query with repeated values

I have a query where I have multiple data return from each user. But when I perform a search, I have the returned data as a return. I know that this repetition of the data occurs because I do not contain a single data (not repeated) in this q...
asked by 13.03.2015 / 12:45
1
answer

Passing value from one view to another view - PHP

Well, I need to pass a value from one View to another View, in this case an ID. For example: In the Main View I have a list of vacancies, when I click on one of the vacancies will load the second View where it will be possible to edit this va...
asked by 15.01.2015 / 14:22