Questions tagged as 'android'

1
answer

What method of the Adapter determines the number of elements that a listView will have?

Well, the question is very clear, I need to know which method of the adapter is what determines how many elements a listview will have. When I speak of adapter, I mean baseadapter, to this: @Override public int getCount() { return null...
asked by 11.07.2018 / 13:12
1
answer

View Pager takes time to post images with Picasso

In my mainActivity I have this viewPager = (ViewPager) findViewById(R.id.viewPager); ViewPagerAdapter viewPagerAdapter = new ViewPagerAdapter(this); viewPager.setAdapter(viewPagerAdapter); This is the declaration of the xml where the viewPa...
asked by 10.07.2018 / 19:45
1
answer

Error: Program type already present Android Studio

I'm trying to use the Twitter API to only show a tweet, the application does not have any code but it gives me the following error:    Program type already present: android.support.v4.app.FragmentTransitionCompat21 $ 1   Message {kind...
asked by 26.04.2018 / 13:08
1
answer

text property of the textview class of android

I have a question, before to recover or save text in a textview the methods getText and setText were used, now, yesterday I started working with a textview and the getText method did not appear in the list of recommended methods when I put obj...
asked by 18.04.2018 / 14:51
1
answer

How to activate the aid bulletin in Android Studio?

Friends how can I activate the aid bullet in Android Studio, since I have to implement manually or I can not see where I have code errors until the moment of execution ... the truth is that it is a lot of process.     
asked by 06.05.2018 / 19:13
1
answer

How can I change the visibility of an xml object in ViewModel?

I have a question about how the visibility of an object in the ViewModel will change. I expose my case: I have a login interface that has two Edittext and two buttons, a button and an Edittext are invisible by default, and I want to press the...
asked by 20.04.2018 / 14:34
1
answer

INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match the previously installed version; ignoring

Hello! I get this error when trying to generate a debug apk to update an application directly on the device:    Execution failed for task ': app: installDebug'.       com.android.builder.testing.api.DeviceException:   com.android.ddmlib.I...
asked by 10.04.2018 / 19:35
1
answer

Collect value from an AlertDialog

I'm creating a Alertdialog but the value it returns is always 0. I have defined a variable in the Activity and I assign it the value but it does not work for me. Thanks for your answers. private int result; AlertDialog.Builder buil...
asked by 21.04.2018 / 21:42
1
answer

Remove variables from an android service

Hello stackoverflow community I'm doing an app that plays streaming audio as a service in the background, what I want to do is remove variables from the service from the Activity as well to update the play / pause buttons This is my service code...
asked by 08.05.2018 / 03:02
1
answer

com.android.volley.ClientError

I have this problem: using volley to connect to an ASP.Net web service in this way, I jump to the onErrorResponse with the message "com.android.volley.ClientError " In local yes it works for me requestQueue = Volley.newRequestQue...
asked by 23.04.2018 / 11:41