All Questions

1
answer

Do not save checkitem selected in Sharedpreference

Good afternoon I have an AlertDialog singlechoice which I fill from an array of objects which I get from a webservices. Well my problem is that I save the id of the selected object in the shapredpreferences and then use them in a filter in...
asked on 10.06.2016 / 23:40
1
answer

Detect if an item is visible within a NestedScrollView on Android?

I need to detect if an element inside a scroll is being displayed on the screen. On my test bench I have a text lorem impsum and then a button myBtn1 To detect when scrolling in NestedScrollView use Button myBtn1 = (Button)...
asked on 07.06.2016 / 10:52
2
answers

JAVA - How to print the attributes you assign in my objects?

I'm using Iterator with its respective library, compile, but it throws this result:    COSTS @ 940a5a93 COSTS @ 940a5a93 This is my code: import java.util.ArrayList; import java.util.Iterator; import java.util.List; public final class...
asked on 22.10.2018 / 15:05
1
answer

Rails save data of another model in a form

I have a User model created with devise with a relationship towards Setting class User < ActiveRecord::Base has_one :setting end class Setting < ActiveRecord::Base belongs_to :user end The User model has attributes: first...
asked on 01.06.2016 / 16:22
2
answers

How to create a new project in android studio?

They will think the question is silly but it is not, install android studio version 2.2 I have the jdk 1.8 installed, I have never used android studio so it is installed and configured by default, when I start I give the path of my SDK , after t...
asked on 07.06.2016 / 23:36
2
answers

Doubt about the constants of animations in Android?

Use those constants in an object Go ahead and set the duration (short, medium or long) int final static config_shortAnimTime=200; int final static config_mediumAnimTime=400; int final static config_longAnimTime=500; Is there any way to get...
asked on 29.05.2016 / 08:51
1
answer

Send form from a modal window

I work in a web app with jsp. I'm doing a form in a modal window with bootstrap, this is the body code of the modal window. <%@page import="DataBase.Querys"%> <%@page import="Bean.Categoria"%> <%@page import="java.util.ArrayList...
asked on 08.06.2016 / 20:08
1
answer

object session mvc 4 in razor

Good morning, I have an AccountControler in my application, the AccountControler has the ActionResult to log in and disconnect. Once the user is connected (user that is inside a table in sqlserver), I need to know how to obtain the data fr...
asked on 10.06.2016 / 12:12
1
answer

Convert string to double by specifying decimal separator

Please collaborate with the following, I want to convert a string to double but specifying the decimal separator, example String a = "123,45"; String b = "987.65"; //Requiero uno conversión especificando el separador, no se algo como lo siguie...
asked on 08.06.2016 / 20:44
1
answer

Add profile picture to chat with JSQMessagesViewController

I'm experimenting with JSQMessagesViewController and Firebase. I have managed to save download Firebase content and save them via chat. Until now I have had problems with the profile image. I am declaring the following two variables: var incom...
asked on 31.05.2016 / 23:10