Most voted "listview" questions
Listview is a graphical screen control or widget provided by user interface libraries on most modern operating systems. Use the tag for any language that makes use of this control even if it has some variation. Unless the problem is specific to some implementation.
Learn more…415 questions
Sort by count of
-
1
votes1
answer468
viewsAndroid Listview equal to Instagram
I’m developing a project in Android Studio, the project screens are all made in Fragment, I’m using the Material Design followed the tutorial here, and would like to make the main screen a Listview…
-
1
votes1
answer106
viewsHow to control elements within an item in an android listview?
I have a list view that contains items, each item contains a seekBar. How do I control this seekbar? make him change the value by being moved and taking his current value? Since this seekbar is not…
-
1
votes1
answer17
viewsChange the figure of the firemonkey aDetail
I would like to change the figure of the Listboxitem.ItemData.Accessory to a figure of the imagelist or another loaded from a file. Someone knows how to change? Accessory :=…
-
1
votes1
answer443
viewsHow to put a List<> in a Listview?
I have a method to read my database that returns me a List<>, I would like to know how I display this List<> in a Listview component DLL dll = new DLL(); dll.listaVeiculoss(); //Esse…
-
1
votes2
answers3625
viewsAndroid, pick up id of an item from a listview through long click
someone knows how to pull an ID from a Listview item through the SetOnItemLongClickListener and could tell me if this method would work with an item being displayed from the database?? The code of…
-
1
votes2
answers187
viewsAndroid - How to create a comparison so that items from LISTVIEW are displayed or not according to the date?
I’m creating an app that will show open pharmacies on a certain date: I created a listview with 10 lines (pharmacies)... And according to the day of the month certain units will be displayed... or…
-
1
votes0
answers42
viewsrequestLayout() improperly called by Listview
I have the following error, when I call my screen of categories they load normally, I go to the second tab called expense that loads a list, so everything well, when returning to the first tab, the…
-
1
votes1
answer322
viewsBring only the name in Listview, but relate to the ID
I have a Webservice that lists all my users and brings users from the bank. I have a class Usuario { int id; String nome; } With its builders, gets and sets, etc. And I can return all my users.…
-
1
votes1
answer101
viewsList changes color at wrong position
I made a method for when I click on a listview item it change color. The problem is that it also changes color all items that have a range of 12 items of the item I clicked. For example: I have a…
-
1
votes1
answer1024
viewsFilter Edittext from listview on android
I’m making this code that’s running blaza, but there’s a problem, in my string it’s written "Mr. Jose Ventura" then when I type only "Jose" or just "Ventura" nothing appears in the search, could…
-
1
votes0
answers60
viewsUnpopulated listview on all tabs on first access
Hello, I have an Android application of an electronic questionnaire. Should be presented the same questionnaire in tabs, are 7 tabs. The application downloads web issues from an XML. I’m using the…
-
1
votes0
answers22
viewsCatch a certain amount within a Windowsphone Menuflyout
I have a question on WP8. I have a listview and inside it I have a Menuflyout , my doubt is how do I get the value of a certain column after the click is done on Menuflyout. Follow the code:…
-
1
votes0
answers129
viewsProblem when passing Arraylist to another Activity
Good evening, I’m having trouble passing a Listview from one Activity to another. The Activity code that passes to the other is the following, called Filtrarimoveis.class: for (int i = 0; i <…
-
1
votes1
answer49
viewsI can’t see Listview
# import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.View; import android.widget.Button; public class…
-
1
votes0
answers32
viewsInsert images and text into Parseadapter
I have an Android app, where I use the Parse server with 100 registered stores. I need to insert into an Adapter 3 text information and one image information. The text I could already insert, but I…
-
1
votes0
answers30
viewsUsing this rule, how do I delete all (Descriptions) from Listview
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_especialidades); Integer[] imgid={ R.drawable.ic_plus_white,…
-
1
votes1
answer137
viewsHow do I apply monetary mask to my listview?
I would like to know how to implement my monetary mask on ListView products. I ask you to be the most specific and detailed as I do not have much experience. Thank you. public class ProdutoAdapter…
-
1
votes1
answer2809
viewsHow do I alphabetize my list?
I have a ListView and I’d like to alphabetize the names of the clients. I urge you to be as specific as possible because I don’t have much experience. import static android.R.id.list; import…
-
1
votes0
answers543
viewsListing BD data using SELECT and ORDER BY
Doubt There is a screen with an Edittext and a Button. When entering any information in Edittext and selecting the Button the system should redirect the information from Edittext to an Activity and…
-
1
votes1
answer66
viewsStrange behavior of Basedapter on android
I have a ListView with CheckBox, that one ListView is organized with two List in Adapter, one that would be all items, and the other only with the selected. I created a CheckBox to add the…
-
1
votes1
answer287
viewsHow to give a list of images the behavior of a Radiogroup?
I have 2 image vectors, one for the normal image and another for when it is selected. When selecting an image on ListView I need the others not to be selected. I’ve tried many ways and this was my…
-
1
votes1
answer640
viewsSelection and deselection of items in a Listview - Android
I’ve got a listview that extends a basedapter. And following this one’s lead topical with the @ramaral reply I was able to make the item select and select but now how do I check if the item is…
-
1
votes1
answer63
viewsAndroid: Listview custom this with error while simulating
I implemented a basic custom Listview, but this giving the error: java.lang.Runtimeexception: Unable to start Activity ComponentInfo{goodeal.listview/goodeal.listview.MainActivity}:…
-
1
votes3
answers1476
viewsHow to know which Boot was clicked on my Listview?
I have a Listview, in each row I have two buttons. How can I know which button was clicked? Follow my code: <ImageView android:id="@+id/imageView_imagen" android:layout_width="145dp"…
-
1
votes1
answer57
viewsListactivity error, probably related to Onitemclicklistener
I am having a problem understanding what is going wrong in this code, I feel that the problem may be related to Onitemclicklistener. When I try to emulate it responds with a message like this:…
-
1
votes1
answer254
viewsAdd empty item at the end of Listview
I have a FloatingActionButton in the lower right corner of my screen and when it comes to the end of ListView, it sits on top of a button. I would like to add an empty item at the end of the…
-
1
votes0
answers438
viewsError: android.view.Inflateexception: Binary XML file line #10: Error inflating class android.widget.Listview
I am running my app, however it returns the following error: Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.widget.ListView And I’m simply running…
-
1
votes2
answers102
viewsHow to set data correctly in Lisview?
Guys, I’m picking up a bit with asynchronous request on Android. I’m requesting a list of states on JSON, via OkHttp, and turn into a ArrayList states to be able to state ListView. However, in every…
-
1
votes1
answer779
viewsWork with images in Android Studio
I wonder if there is a way to work with images on android. I have a List View, in this list I have several categories. When the user selects this category, he would like it to load all the images…
-
1
votes1
answer1371
viewsHow to list files and folders from ftp server?
I’m not able to list the FTP server in the app, using the Android emulator, I realize that in the old versions of Android the listing happens normally. However from Android 4 I have problems for…
-
1
votes1
answer209
viewsHow to create a custom filter in the android lestview that searches for words after the space character
In this code the filter is working until the first word. From the moment I enter the space character the filter stops working. Example: Search "Steve Jobs", the system gets lost. Now if you search…
-
1
votes1
answer5521
viewsClick on listview item
I have the following code, which shows the items in a list, on the screen: Activity: public class InviteActivity extends ListActivity implements InviteView { @Override protected void onCreate(Bundle…
-
1
votes1
answer1254
viewsChange Listview color when selecting
How can I change the color of a listview when selecting? below goes as is the stuck in my project: listDebitosPendentes.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override…
-
1
votes1
answer140
viewsProblem in editText inside a Listview
Hello, I created a list of questions within a Listview, I created all the questions by programming, I’m not doing any components in the.xml layout, I just have a frameLayout, but the moment I click…
-
1
votes1
answer78
viewsSelect items with Longclick, imagebutton
I have the items of a list, which when clicking on the imagebutton, a message is sent to the user. I would like to implement longclick so that I can select multiple and send messages to multiple…
-
1
votes1
answer214
viewsReturn error of Listview object list
Here’s my main class: public class MainActivity extends AppCompatActivity { public ListView lista; ArrayAdapter<Aluno> adapter; @Override protected void onCreate(Bundle savedInstanceState) {…
-
1
votes0
answers57
viewsConflict between Listview’s latest Ell and Floatingactionbutton
On the last Cell of mine ListView there is a conflict because the FloatingActionButton screen is covering two buttons as shown in the image: I wish I could enlarge the scroll area of my ListView or…
-
1
votes1
answer204
viewsListview inside a Tabview with Firebase data
I’m trying to input firebase data into a listview q is already inside a Tabview, but when I try to load firebase data nothing comes. I started Listview inside the onCreateView method, like this:…
-
1
votes1
answer82
viewsPopular Listview UWP C#
I’m using a bank in sqlite, already done and with data in my application UWP and trying to display in a listview the data in the table Marcas. What I’ve done so far is create a class Marcas: public…
-
1
votes1
answer53
viewsError setItemOnClickListener after click
I am having a problem in the application where after I click some row of mine ListView, the application simply crashes (unable to see the error in Debugger). The idea is after clicking on ListView…
-
1
votes1
answer415
viewsOnitemclicklistener to open an Activity
I have the following problem, I am using a list view and a search view, and when I click on an item, I would like to open an Activity and show a Toast. So far so good, when I search and click on…
-
1
votes0
answers178
viewsListview android
How can I separate the returned fields from one Sqlite database in a listview? I’m using: SimpleCursorAdapter adaptador = new SimpleCursorAdapter(this, R.layout.row_item, registros, from, to, 0); It…
-
1
votes1
answer61
viewsRefresh Listview Android with SQL Server
I’m making an application where I have two activities: One that will show users who have been registered in a ListView, and another that will make it possible to execute the CRUD. I have a problem…
-
1
votes1
answer46
viewsListview with config.properties
I am with a following doubt, I am using a listview with about 300 characters of a game, when clicking on a character he inserts some dice that is written in the config.properties, all characters…
-
1
votes1
answer64
viewschange listview play in audio
I’d like to change that listview scheme instead of pressing the play buttons, I just want to press the list item and it (in case) plays the sound and when I click on another item it stops the q was…
-
1
votes0
answers72
viewsRefresh Controll stops working if listview exits the screen
I’m trying to get a list of Firebase items, including images, that will be rendered in a Listview. But the problem is that when Listview gets bigger than the screen, then Refreshcontrol no longer…
-
1
votes1
answer184
viewsSearch in listview does not show the corresponding item
In listview when searching for an item it shows the right matching name, but when I click to play it plays another item instead of the searched item. Mainactivity public class MainActivity extends…
-
1
votes1
answer830
viewsProblems to list firebase data on android
Good morning ! I’m having trouble listing data from a certain node in my application... when I list it as the codes below I get the following return from Exception:…
-
1
votes1
answer126
viewsNullpointerexception when running Listview.setAdapter (Android)
i am implementing an application where I need to display a list of Dogs (already registered in BD) and allow clicking on an item in the list to display a new activy to edit the data. The problem is…
-
1
votes0
answers303
viewsDelphi 10 - Load data while scrolling listview down
Good afternoon! I apologize if this matter is under discussion in another area of the forum, but I spent many hours looking for this tip and found nowhere. I ended up finding out by going through…
listviewasked 7 years, 2 months ago Eduardo Gomes 11