Questions tagged as 'view'

1
answer

Filtering models in Django view

Talk Galera I have the following app running in Django 1.6. when clicking on dog or cat the idea would be to present a page doing the filtering of the object The animal is modeled thus to filter: TIPO_CHOICES = ( (1, 'Cacho...
asked by 12.04.2018 / 21:03
1
answer

Playing Controller Info for View CI3

I'm working with CodeIgniter3 in the MVC model and I'm having problems for a long time, slowly I'm solving some problems here and there and almost reaching the point. I'm doing a query in random order in the DB by the model: public function...
asked by 10.04.2018 / 02:29
0
answers

How to implement a Scroll in a Custom View

I created a custom view that needs to have a vertical scroll to show all items that are drawn using the "onDraw" method. Can anyone help me with this problem? public class MinhaView extends View { private Paint paintLinha, paintHora, paintEst...
asked by 05.04.2018 / 18:20
1
answer

View data is disappearing in a certain time

It's the following, so I realized the whole project follows the MVC Standard. I just have a big problem. The view of orders there is a simple refresh of 30 seconds, searching for new orders. So good! The problem happens every day at 9:00 PM,...
asked by 19.02.2018 / 03:16
0
answers

Rectangle movement with onLongPress on Android

I'm trying to make a constant movement of a rectangle on an android screen. By pressing a certain area on the screen I wanted to move that rectangle up. But what happens is that when I press the screen the rectangle moves only the first time by...
asked by 19.01.2018 / 21:57
0
answers

Connecting to multiple banks with mysql loop

Good afternoon My question is about connecting to several databases in mysql for reporting I would like the annual result of the year 2016 in sales, with this I want to get the result of each month, but this would require a select for each...
asked by 09.08.2017 / 19:09
1
answer

Rails link to dynamic

I have the following question, in my controller there is a variable that picks which model the guy is coming from and sends it to the view. I would like to create a link from this variable type: link_to @link (variable: @variavel), in this pa...
asked by 29.07.2017 / 23:24
1
answer

Working with object in javascript

Well I'm trying to understand how to work with an object that comes from my controller in javascript, I've already done some tests to make sure this information went up correctly for the view, but I did not understand how to work with this infor...
asked by 20.07.2017 / 21:26
1
answer

Elements with Date and Time Data Type

I would like to take a doubt, we should treat fields differently which have data type as time and date I say in relation to the view, why I have a problem I need to plot some date and time in a table in my view but the fields that are not date a...
asked by 11.04.2017 / 15:20
0
answers

Pull facebook profile image to a panel

package com.didasko.eduardo.tender; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.Button; impor...
asked by 13.02.2017 / 20:18