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
-
0
votes1
answer1525
viewsCardview Android
I am participating in the creation of a project, and I need to create a list containing several CardViews, as the number of cards it’s not exact, I can’t just do XML. Does anyone have a hint as to…
-
0
votes1
answer251
viewsHow to pass listview items to text
I have a listview with some items and columns, I would like to know how to pass everything to a textbox, in text form same. Example: The table: ID NOME IDADE 0 Luis 47 1 Juca 69 Na Textbox: 0 Luis…
-
0
votes1
answer124
viewsList Adapter duplicating positions in Listview
I have a class called "Adapterlistplayers" that extends the class Basedapter and in it I inflate a layout that contains a Checkbox and an Imageview. Class Adapterlistplayers public class…
-
0
votes1
answer24
viewsHow to prevent the line from losing the color reference in Expandablelistview?
I have an Expandablelistview with 5 groups and each group has their children (Child). I changed the background color of some children, but when I use the scroll mess all the lines, painting…
-
0
votes1
answer55
viewsMerge Listviews Android
In my application, I have two Fragments, one to load Tweets and one to Read an RSS. RSS public class RssFragment extends ListFragment { private RssListAdapter adapter; @Override public View…
-
0
votes0
answers70
viewsHow can I copy items from one list to another
I wish to create a listviewwith data from another listview. It will function as a shopping cart of these shopping sites, but will serve another purpose. On a list there will be line >imageview,…
-
0
votes0
answers111
viewskeep the data in a variable of the first Act after returning from the second Act by the up button
I have the following problem , I have a list view in act1 q depends on a variable to be loaded, when I finish my act2 or go back by the back button of android (bottom button) the value of the…
-
0
votes1
answer504
viewsListview c# passing value to the next form
I rode a form in c# and this form is responsible for showing all data from my table on Bd and put this data into a listview, can thus select an item from the listview and rode another form where he…
-
0
votes1
answer417
viewsHow to use Listactivity with Actionbar?
You can only access a menu ListView who is without the ActionBar by the menu key in the emulator. How to display it? It is necessary to inflate by BaseAdapter? Activity of ListView: public class…
-
0
votes0
answers87
viewsHow to perform button action within Listview Android C#
I created an android data query application, where they have the layout and Adapter ready to crud data, but the crud operation worked when data is entered and consulted. I was unable to make a…
-
0
votes0
answers51
viewsEdittext problem within Listview
Hello, I’m having trouble in edittext inside the listview, it does not let me type and is giving these errors. Follows errors below: W/IInputConnectionWrapper: beginBatchEdit on inactive…
-
0
votes3
answers563
viewssetOnItemLongClickListener is not working
Can someone help me by telling me setOnItemLongClickListener not being called when I give a long click on my list item? I have in the same Adapter 2 methods of type onclick, one is the…
-
0
votes1
answer233
viewsChecbox Selected List View
I have a ListView where at the end I have a CheckBox referencing my data. I need to create a button that fires a method that traverses the Checkbox selected and take its value. How to do this…
-
0
votes1
answer180
viewsSearch Data in a Listview with Arrayadapter
I have a listview with Jsontask to search in my database is everything OK. In this listview I have several fields, Plate, Brand, Model, Year. etc. I saw some examples on the net but it is for simple…
-
0
votes1
answer185
viewsListview update does not work
Hello, Can help? On the search screen is returning the data from the previous research plus the new research performed. Listview does not update only with new search return results. I’ve used the…
-
0
votes1
answer315
viewsLoad a Listview into a Fragment from a Fragment
I’m in the following situation: I have a Tabbar with 2 Fragments (Productofragment and Carrinhofragment). Inside the Productofragment I have a Listview with an add button that triggered, adds an…
-
0
votes1
answer918
views -
0
votes2
answers487
viewsInvisible speakers in Listview
I have a listview with a series of columns, but I’d like to hide a few, how do I do that?
-
0
votes1
answer56
viewsProblem with imagebuttom in listview
Hello, I have a problem that when showing the last item of the listview on the screen, the imagebuttom of the last item and the others of the screen stop working, when scrolling the screen again and…
-
0
votes1
answer182
viewsFill a Listview in Xamarin with data
Good morning. I’m trying to fill a Listview in Xamarin with data but I’m not getting it, keeps giving a generic Exception. List<string> listaTeste = new List<string>();…
-
0
votes1
answer1104
viewsHow to receive all images from Firebase Storage and display in a listview
I have several images captured via camera or gallery that was uploaded via app in Firebase Storage, using Glide I can display images, but only manually (added one by one in the hand), and my…
-
0
votes1
answer4337
viewsAdapter in a Listview in Android Studio
I’m trying to complement a code that controls a custom Listview, through three classes: AdapterListView, ItemListView and the MainActivity. So far, the code only manages the insertion of data and…
-
0
votes1
answer993
viewsAndroid sqlite - Return _id logged in Listview only one value selected using Where condition
Good evening guys, I’m new here, I’m new to Android programming, but I decided to do my TCC, a project on Android. by doing alone, finding material on the Internet, without taking Android lessons,…
-
0
votes0
answers215
viewsList View always returns first position
I’m making an app to manage my exams at school and it’s almost ready. However, there is a problem: when I want the position (int position) of Listview, it returns ALWAYS the first position, even if…
-
0
votes1
answer173
viewsPopular Listview with Firebase Data
I’m trying to input my Firebase database into a ListView, but to no avail. The database contains a "main node", called "occurrences" and inside I have some information, which I wanted to make…
-
0
votes0
answers213
viewsList Adapter does not update after removing
The situation is as follows: I have a SeparatedListAdapter and with it I create 3 sections for my listview. Inside the sections, add 3 Adapters and 3 ArrayLists. The problem is that in each of the…
-
0
votes0
answers19
viewsWaiting for a page to load
I have a home page, and when I click a button, I navigate to the next page. The problem is that this page does a database query and returns many records, which are inserted in 3 listviews different.…
-
0
votes1
answer59
viewsHow to create a Listview with delete action
Hello, I would like to know how to create a listview in which you have the option to remove that item from the list. I am working with MVVM
-
0
votes2
answers122
viewsWhen adding Listview Selector Imagebutton to Work
The list view is a list of items available to the user to select, and when the user clicks on a Listview item this item changes color and is added in an arraylist (this is the function of clicking…
-
0
votes1
answer1110
viewsHow do I adjust the size of items in a Tlistview
I’d like to ask you for help about a difficulty I’m facing. The TListView is with the configuration of Appearance as DynamicAppearance. I would like to break from the products that have additional,…
-
0
votes1
answer291
viewsCreate listview with database data and put an Edittext in front of each information
I need to create a listview inside a dialog, using the data of the Sqlite database, but in each of the data that will load has to have an Edittext in front, for example. Product Quantity Adubo…
-
0
votes1
answer174
viewsHow to add an item to a listview when a button-click event occurs?
Guys, I want to create a list of tournaments. Where each item will be added at the click of a create tournament button, following the pattern: tournament 1, tournament 2, tournament 3 ...
-
0
votes1
answer117
viewsListview and Aniindicator
If anyone can help, I have the following problem : I have two components in a form, a Listview and an Aniindicator, I am loading the Listview data into blocks coming from the database as per demand.…
-
0
votes1
answer46
viewsDisplay given arraylist, with click on given button
Hello, My xml has several buttons as I do so that when I click a certain button press an arraylist in listview example Botão1 clicado -> arraylist<Perguntas> carrega na listview1 Botão2…
-
0
votes1
answer674
viewsListview occupy the entire screen
I have this listview main.xml <ListView android:layout_width="fill_parent" android:layout_height="fill_parent" android:id="@+id/praias" android:layout_above="@+id/adView" /> I was Wanting the…
-
0
votes1
answer36
viewsMaximum value of listview1.scrollviewpos
Good morning, to all If someone can give a help... How to know the maximum value of listview scroll ( listview1.scrollviewpos ), I’m not finding out. Thank you, Cassian
listviewasked 6 years, 8 months ago Cassiano Luz 31 -
0
votes1
answer347
viewsGrab images from the drawable folder by name
I would like to know how to take an image id from the drawable folder and use it in an Imageview. I am trying to do this within a Listview String nomeImgFilme = filme.getImagem(); int imgID =…
-
0
votes0
answers121
viewsListview Event Error for Round Images
I have a listview linked to an Fdmemtable at the event : TForm31.ListView1UpdateObjects(const Sender: TObject; const AItem: TListViewItem); i do the following procedure to leave the photos round :…
-
0
votes1
answer535
viewsListview in numeric order - Android
In my project, I have to leave an option for the user if he wants to view the list by mileage order or by price. In my case, I’m filling out this list for a ArrayAdpter, through a class to inflate…
-
0
votes1
answer276
viewsWhy is my Listview showing just one line?
I have a Listview but only one line is appearing, and I am registering 5 data (item 1, item 2...) Does anyone know what’s going on and what I can do? Java activity. public class…
-
0
votes1
answer98
viewsAccessing a specific component within a listview
I have a music list with a favorite icon, when the user clicks on this icon I want to change the color of the icon as the like action. In this structure I have an Activity, a listview in this…
-
0
votes1
answer30
viewsOnitemclicklistener with Customadapter, java.lang.Nullpointerexception error:
Good Afternoon, I’m using a listview to display some images per url and cache them. So far, so good. But when I put Onitemclicklistener just to show Titulo with a message it gives the error…
-
0
votes1
answer96
viewsCheackbox on a Basedapter, how to use it?
Hello, I’m developing my TCC, and I don’t know how to use checkbox inside a baseAdapter. My idea is, I have a window that shows me a list of orders and at the bottom of the list this total, each…
-
0
votes1
answer1004
viewsDelete item from Listview
I have a ListView that displays the title of each subject. When I click on the item another is displayed Activity that shows the details about the title. In this Activity has a button for rule out…
-
0
votes1
answer887
viewsHow to create a custom Listview inside a Fragment?
Goodnight I did a lot of research on it, but I couldn’t quite understand the concept. I have an Android application that uses Fragments. I need to insert a custom Listview with an image and several…
-
0
votes0
answers155
viewsgetView being called several times
I am creating an Android app and I came across a problem, I created an Adapter to fill the items on my screen but the getView method is being called several times when I select the product thus…
-
0
votes2
answers39
viewshow to pass an item from a listview to a textview in the same Activity
My question is regarding the capture of information in a ListView on Android and paste the same information into a TextView. Example: I created a ListView fruit and I want to click on a fruit from…
-
0
votes2
answers155
viewsProblem with Android Arraylist
I’m trying to create a listview with images and I’m getting this error and the app does not run. Error stack E/AndroidRuntime: FATAL EXCEPTION: main Process: com.pedido.meu.telas_meu_pedido, PID:…
-
0
votes1
answer56
viewsDoesn’t List View exclude the first time?
Hello, my Listview is not deleting right, because I click on the item, open the menu, I click delete, it leaves the Listview, but it’s still in the database, so I have to exit the screen and go back…
-
0
votes0
answers1263
viewsList data in a List View
I’m studying programming for Android, I’m making a query in the database Sqlite, however I can not play the data obtained in a listview, it always returns me my string in full instead of the value…