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
answer510
viewsSort by date and name Arrayadapter
I am using "Comparator" to sort my listview. Sort only 1 element, it is working, but with two the same does not work. //ordenar por data arrayAdapter.sort(new Comparator<Vagas>() { @Override…
-
0
votes1
answer324
viewsC# - Passing data between Windows Form using Listview
I have a project in C# Windows Form, in my project I have 2 screens, 1 - Listview to show the information, 2 Form to get the user data and pass to Form1 Listview, but the problem is: pass the…
-
0
votes0
answers118
viewsRadiobutton changes checked when scrolling Listview
Good afternoon, I have a problem with Radiogroup on a listview. Next, when I mark a Radiobuttom and use the scroll of my listview, the marking I made appears in another Radiobutto and not in what I…
-
0
votes1
answer546
viewsPopular Listview Shapes with Retrofit 2
Although there is already a similar question, not clarified my doubt, my problem is the following, the code below is from onResponse of Retrofit, I’m starting now in Java, I would like to play the…
-
0
votes1
answer287
viewsAdd content to a listview (Android)
Viva comunidade. I was trying to develop an android application that receives JSON data, and I wanted to re-leverage some of this specific JSON data to add to an Android listview. I started by…
-
0
votes1
answer261
viewsInsert picture into empty listview background
I have a listview where he gets the data via Firebase. But if it is empty and not to leave a white screen in the Activity where it is, I put a background image like the example below. That’s my code…
-
0
votes1
answer54
viewsHow to share content from a listiview?
Hi, I have a question. I’m making an APP, which has a listview that has text and an image. I would like to know how I can share the content the person clicked on. Just follow my code: // DECLARANDO…
-
0
votes1
answer655
viewsListview by selecting position
I have a code I need him to select the item by its position... In case he is already selecting but he selects randomly. listView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener()…
-
0
votes1
answer57
viewsListview click by constructor call but not by button
I have a listview in my app and created in my Viewmodel a method Carregarlistview(); When I call it by the constructor of my Viewmodel, an Observablecollection list is loaded and Binding is given in…
-
0
votes2
answers49
viewsChange the color of a list according to a certain variable
I’m trying to get my schedule list to have each line with different colors for each category that was defined, this list is filled by data recovered from firebase that goes to the model class,…
-
0
votes1
answer50
viewsLoop loop in Listview
Can someone help me? In a listview where the data comes from an internet database I can’t let it be automatic so that all values coming are included, the only way is to add one by one, but when as…
-
0
votes1
answer582
viewsHow to take the item information from a java listview and insert it into an android studio textview?
I am learning to program, and I started a project in q shows the information about the Formula 1 teams, such as pilots, age, nationality and titles of each. When you click on an item, you will be…
-
0
votes1
answer108
viewsChange item color in a listview that contains certain TEXT
How do I put it for when a listview item has information it gets a background with a different color? In the example below it receives the data and returns them in listview: public…
-
0
votes1
answer87
viewsEdittext losing focus on Listview header
I put a header in my ListView because I wanted him to roll along with her. In this header there are two EditText, When I click on the second, the focus goes back to the first one in less than a…
-
0
votes0
answers283
viewsAdjust listview width for input from mysql database Vb.net
I have a problem to adjust the width with listview in VB.net, where the data loaded from the database does not adjust the width. Example: Have a database record that has a width of 250 characters…
-
0
votes1
answer44
viewsExpandablelistview edittext disappearing or scrambling text
I have a problem with Expandablelistview, I have two edittext per line, every time I type something in one, and scroll the screen, when I go back or deleted or changed position. I’ll post my code:…
-
0
votes0
answers129
viewsDynamic listview with checkbox
How to add checkboxes to items in a dynamic list? I’m developing a school attendance app and this is my class to add students: public class AddAluno extends AppCompatActivity { BancoAlunos…
-
0
votes1
answer79
viewsXamarin - Observablecollections between 3 Forms
I have an app in development with a serious problem in passing data from one screen to another. When I started, I made a home screen with a listview, in it I had a searchbox where the user typed a…
-
0
votes1
answer77
viewsopen a new Activity by clicking an item in the listview
I created a listview but I’m not sure which command should I make for my items to open a new activity for each one. Below follows my code until the moment: public class pg_apoio extends…
-
0
votes0
answers37
viewsError while emulating App on Samsung
I apologize if this error has already appeared, but I could not solve it in my app and the previous answers did not work. I’m developing a activity show in a ListVew items registered in a specific…
-
0
votes0
answers135
viewsDo a search Inside a custom Listview with firebase
Basically my project resembles a social network, using the firebase Restaltime database, but I came across a problem, I created a custom listview and my idea was... Since I had 2 children >Users…
android android-studio firebase listview firebase-databaseasked 6 years, 3 months ago Arthur Ramos 11 -
0
votes0
answers49
viewshow to add images to a Listviewgroup
Let’s suppose that way: C:\...\imagem have 3 folders: fotos, wallpaper and ferias. What I’d like to do and leave them like this: Photos imagem1 imagem2 imagem3 imagem4 imagem5 imagem6 Wallpaper…
-
0
votes1
answer56
viewsListview of Android slow
What may be causing slowness? Code of Adaptador: public class Adaptador extends BaseAdapter{ private static LayoutInflater inflater = null; Context contexto; String[][] datos; int[] datosImg; public…
-
0
votes1
answer62
viewsWhen I click on Listview to open another Aciticity the app hangs and Fexa
I’m creating an App that looks for nearby wifi networks and then can connect to them, but locked at the beginning, because I can make it scan, but when I click on some network of the list, which…
android android-studio listview android-activity arraylistasked 6 years, 2 months ago Emanuel Boaventura Matos 9 -
0
votes1
answer271
viewsHow to increase column width in Listbox C#
Good morning, I am a beginner in C# I have a doubt, I already searched the forum and found the solution that did not work for me. Problem: I can’t enlarge the Listbox Column. COD: using System;…
-
0
votes1
answer118
viewsPick item contained in a Listview item by clicking on the item
My situation is as follows, my listview loads the items into an xml I created for each listview item At the time listing is like this: What I want to do is, by clicking, take these items circled in…
-
0
votes1
answer136
viewsXamarin.Forms - Listview only displays if I click on the screen.
Hello, I got a problem. Have my listview, where you bring the information as it should, but this information is only displayed when you click on the screen. If it is not clicked on the screen, the…
-
0
votes1
answer57
viewsListview with Arrayadapter
Hello guys I’m new in Android and I’m with a question of data overwriting in listview that I haven’t been able to find yet. I have a Tabbed with 3 tabs, and when clicking the first time tab the…
-
0
votes1
answer67
viewsClear a listview that is inflated with an Inflater layout, Android C#
Good am with the following problem, I used a layout inflater to fill a listview with a adapter but I want to clean this adapter, because the products contained in the list does not change when I…
-
0
votes1
answer224
viewsWait Reply Alertdialog
I have an android app with a home screen, where there is a listview, and when I click on the listview she opens a alertdialog, that displayed the following message "Want to Start Maintenance ?", and…
-
0
votes0
answers27
viewsListview of simple files does not run
I have an application that at a certain time the user will list the contents of the folder containing some pdf’s that will be opened from this listing, however I can’t list the contents of the…
-
0
votes2
answers644
viewsObservable List in a list View Javafx
I need help with a code, this code is just an example that I’m trying to implement, my idea is like a sales screen where I would be adding in List View products to be registered in a sale later, my…
-
0
votes1
answer190
viewsPass data from one form to another form’s listview
Good afternoon, I am developing a system in c# where I need to find the note number and when clicking add, it passes the information to the main form in listview. Can anyone help me how to develop…
-
0
votes1
answer32
viewsDynamically change the pattern color of a text in a standard listViewAdapter?
I have the following code: String[] hours = new String[]{ "0:00 da madrugada", "0:30 da madrugada", "1:00 da madrugada", "1:30 da madrugada", "2:00 da madrugada", "2:30 da madrugada", "3:00 da…
-
0
votes2
answers1029
viewsImage in Listtile - Flutter
I’m not able to leave my image in my Listtile, when I try to scale it only goes horizontal and never vertical, example: Following code, I’m trying to scale with the property Radius:…
-
0
votes1
answer163
viewsHow do you know which worksheet line the selected listview item is on?
I filled my Listview and applied a filter, so that the user can choose the values to be observed. However, I need that the user can add information to the selected item and that these values are…
-
0
votes0
answers63
viewsError loading data from a listview into a texbox c# Windows Forms
I am developing my project in Windows forms, where in the register tab shows a form that has a listview with some customer data, and next several texbox to register, change, view or delete this…
-
0
votes0
answers42
viewsWhy isn’t the Flutter page starting at the beginning by default?
The scrollable page is starting at a place below the beginning, not in the middle, not at the end, I initially thought it was because I was using a Listview inside a Container, without specifying…
-
0
votes0
answers176
viewsLoad listview with data
I have a form that searches all the bills registered in the system for the client code that was registered. When you find it, list all the notes in the listview. I was able to get him to look for…
-
0
votes1
answer51
viewsListview repeats the last record inserted in Sqlite across the list
I’m learning how to develop mobile for Android using Java and started studies to persist data. Everything was fine until I tried to fetch the Sqlite data and insert it in a listview: the whole list…
-
0
votes1
answer48
viewsListview prints only the first element of Arraylist
My application has a screen that lists all the elements registered in BD. The method I use to list the results returns a List (in the Diagnosticodatasource class), until then all right, the problem…
-
0
votes1
answer732
viewsFlutter - How to use Scrollview correctly when showing the keyboard?
I’ve seen several videos on youtube about it but in my code it doesn’t work like in the video. I’ve looked at some questions and some dirty using the code below, but it doesn’t solve the problem.…
-
0
votes1
answer836
viewsDart/Flutter: how to use return of one method in another method? both invoked in the Class Constructor
I am using Dart/Flutter to develop an application and in it I have two Firebase Listeners methods, as shown below, and I would like to know how, in the constructor method, I trigger one of the…
-
0
votes1
answer36
views -
0
votes2
answers264
viewsListview doesn’t update on the screen!
I’d like to ask for a beginner’s help on Flutter/Dart. I’m programming an app to add cards that represent real estate, and each card represents a property within a Listview. But I can’t update…
-
0
votes0
answers38
viewsCHECKBOX ON LISTVIEW DOESN’T MARK ALL CHECKS
Good afternoon Personal, I have the following structure: Table: User Codigo: 1 Login: João Codigo: 2 Login: Maria Table: User_permissions Codigo: 1 Permissao: 'ESTORNAR' Codigo: 2 Permissao:…
-
0
votes1
answer36
viewsObject of listview for each Manactivity
I would like to call a Manactivity for each object of the listview, without passing anything to the new one because I will create the content of the separate Manactivitys. However as this the code…
-
0
votes1
answer19
viewsHow to get the Primary Key ID of the information from a line clicked on Listview?
Hello, I am new to Android programming and am doing a project of which I need to do a CRUD with a litView, anyway, I already have it displaying the data, however I would like to know how I do to get…
-
0
votes0
answers21
viewsHow to browse a multidimensional list in flutter
I have a list that I will use to form a Drawer, passing it title, link and icon. List<List<String>> DrawerList = [ ["Perfil", "/perfil","Icons.vpn_key"], ["Turmas",…
-
0
votes0
answers29
viewsHow do I mount Listview of the result of an API call?
I am making the call of an HTML and the return in JSON var dadosJson = json.decode( response.body ); is the following string: flutter: resposta dadosJson: {_embedded: {banks: [{number: 001, name:…