All Questions

1
answer

Can you populate a RecyclerView with two xml adapters with different structure?

I'm reading two xml with two different structures, I can populate a RecyclerView with the two adapters of each xml. In this picture you can see what I want to do. Now I have the files that are for a parser xml, a class for each xml, a p...
asked on 25.08.2016 / 00:11
1
answer

You doubt about multiplying items in a list

I'm doing an exercise in Codecademy, specifically this one: Modify each element of a list in a function The case, that the code that I'm trying to use is this: n = [3, 5, 7] def doble_lista(x): for i in range(0, len(x)): x[i]=x[i]*2 return x...
asked on 03.08.2016 / 15:07
2
answers

Activate marquee in a textview from code

Continuing with my new project, I intend to make that when they click on the corresponding textview start to make marquee , and when you press another one, stop doing it. p> I've been looking for several hours and I only find ways to do it...
asked on 08.07.2016 / 13:20
1
answer

Error inserting data from Sqlite to Arrayadapter

I have a detail that with my app that I have in android studio. The detail is that I get some data through webservices and store them in a local bd sqlite and I want to show them in a listview with a custom adapter, the problem is when the qu...
asked on 07.07.2016 / 23:02
2
answers

You can convert a jquery mobile application into an Android or IOS apk

I'm doing a moblie app using jquery mobile but I intend to convert it into a native apk. What is the most effective way to do it?     
asked on 23.08.2016 / 22:37
2
answers

NullPointerException when you set a text in a TextView

When trying to set text in a TextView in the following way: Class - > FavouritePet.java public class FavouritePet extends AppCompatActivity { private ArrayList<Pet> pets; private RecyclerView rvPets2; private TextView numer...
asked on 22.08.2016 / 11:27
1
answer

Conflict mootools and JQuery, some other way to make them work together differently to using JQuery.noConflict ()?

I was trying to include a popup window made using the Motools library in software that uses JQuery. The thing is, the other software has 1 million lines that include JQuery and it would be better not to have to change those lines everywhere, but...
asked on 02.08.2016 / 23:08
1
answer

How can I combine two Array into one?

I have an array that has the following data: var mes = {"Mes": ['Enero','Febrero','Marzo','Abril','Mayo','Junio','Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre']}; and others that have the following data: var data = [...
asked on 18.06.2018 / 21:04
2
answers

get IP from the machine in asp.net c #

Good I'm wanting to get the ip of the machine. For that I'm doing this code that when I run it from my website and publish it in my local IIS it works and I get my IP from my machine. IPAddress[] localIPs = Dns.GetHostAddresses(Dns.GetHo...
asked on 25.07.2018 / 17:26
4
answers

Error passing variables with Intent - NullPointerException

I am trying to pass a ArrayList<Pet> from a Fragment to my MainActivity.java for from here, if you press a ImageButton (from the action bar) we go to another activity in which I need the data of said ArrayList W...
asked on 26.08.2016 / 11:33