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
-
2
votes1
answer674
viewsListview does not repeat records
I have a file txt with multiple records inside, I need something that at the time the function is added to the ListView these records, do not let repeat items be added. To do this, it could use a…
-
2
votes1
answer170
viewsKnow the number of characters from the size of the vb6 listview column
I have an api in vb6 responsible for generating reports from components of type listview. Turns out, the report is composed of a table with several columns that are mirrored in Listview. The measure…
-
2
votes1
answer1981
viewsHow to customize the line of a Listview according to the value in Arrayadapter
Assuming I have an object called Item, and it has the text, id and validation property, in which case, text is a string, id is an integer, and validation is a boolean value. class Item { private int…
-
2
votes2
answers198
viewsListview infinity on android
I have an app that consumes a web service, only I have a generic call that searches all users and this taking a long time because I have several records, I want to do so the user goes down the…
-
2
votes1
answer53
viewsListview with hidden items in jquery mobile
Using the same concept present in http://demos.jquerymobile.com/1.2.0/docs/lists/lists-search.html I wonder if it is possible to just list the items when I search them in the searchbox. I don’t want…
-
2
votes1
answer1405
viewsI wonder if it is possible to have a phone mask in a text View
I would like to know how to have a phone mask in a text View field. In my case I have a listview with contacts where in each line of this listview appears the name of the contact and the phone. I’d…
-
2
votes1
answer68
viewsWhat is missing from the custom listAdapter I created?
I’m looking to insert a listview into a Fragment. When I use the default layout "android.R.layout.simple_list_item_1" works smoothly, but I want to create a different layout with two text views per…
-
2
votes2
answers61
viewsHow to update the background colors of the lines of a listview?
I have a listview that when I click on a line, it sends information to the server that returns a status. I needed to change the color of the line in my Adapter based on this information. How do I…
-
2
votes1
answer169
viewsList View with Textview and Imageview
I’m trying to make a ListView with TextView and ImageView(obtained through a URL), when only with TextView was appearing normal, but when I added the code to show the images, the screen turns all…
-
2
votes1
answer1348
viewsHow to create a List and Sublist?
I’m looking for a popular one Listview based on two tables, one so-called category and the other subcategory, and I would like it to look something like this: When I typed a name for Category on…
-
2
votes1
answer91
viewsAvoid overlapping of Listview
I have a problem with ListViewI work with 2 ListViewAnd I want that when I click one, that the other disappears and that they don’t overlap as they have been. I just want when I click and open the…
-
2
votes1
answer79
viewsWhy does the count continue from the previous item and not from the 0?
I have a problem. I made a method that calculates the count from clicks on screen and throw that count into a EditText, but the problem is that the counting continues from the previous item and not…
-
2
votes2
answers1212
viewsHow to make a Listview "Clickable"?
I have a simple phone book system where there’s Activitys to: Register; Edition of the register; Removal of the register; And one last to see all contacts within one ListView. All records come from…
-
2
votes2
answers316
viewsRefresh Listview c#
Good morning. I have a Form1 with several methods. In one of the methods I create another form2. In Form1, I have a listview with Database values. In form2 I will insert new values. I would like to…
-
2
votes2
answers1943
viewsUpdating Listview when I come back from a screen
I have a Listview that has a button that goes to another screen that when filling this screen and clicking the save button, it returns to Listview but I could not find a way to update this Listview.…
-
2
votes2
answers850
viewsHow to update a listview from the bar action button
I would like to know how I can update a listView from a button on action bar. By clicking this would be updated by taking the data again from the site https://parse.com. This listview picks up…
-
2
votes1
answer112
viewsSelected Item Listview Retrofit
I have an application that uses retrofit for connection, and in it I have a listview where I want to do a long click on it and select the position item and do a post on the webservice with this…
-
2
votes1
answer1436
viewsGo to another Activity from a list item with parse.com site data
I would like to know how I could do to call another Activity, through a list item where the data is used from the site parse.com. For example, I have this code: public class ListViewAdapterPizzarias…
-
2
votes1
answer425
viewsQuery information for a Tlistview-related Tabsheet
Well I’m a beginner and I’m in big trouble. I have the following situation: I create an item on Tlistview by making two clicks on the selected item I add an object in the form to the item of…
-
2
votes2
answers307
viewsListview duplicating data in android app
The listview every time it is loaded duplicates the data, this happens if I quit the application without closing, if close the application works normally Whenever the code BackTask bt =new…
-
2
votes1
answer170
viewsHow do you fix columns on a Listview?
I got the following Listview below, precise leaves the first 3 columns fixed and allow the rest to scroll. <td colspan="4"> <div class="GradeDados" style="position: relative; width: 1000px;…
-
2
votes1
answer1720
viewsHow to add columns and values in columns in a Listview at runtime?
I own a ListView listViewListaChamada and I am trying to add columns and values to the columns corresponding to my ListView listViewListaChamada, however I did not succeed. I created the function…
-
2
votes1
answer228
viewsSearch View without having to click enter to show the result
made a search on my list however it needs me to click enter to complete the search and show the results. I would like the result to come automatically when typing. Thank you. My code: ........…
-
2
votes2
answers1687
viewsHow to decrease the size of the text in a Listview?
I would like to know how to shorten or increase the text of ListView. In the TextView there is the property android:textsize="15";, which property would be equivalent to textsize in the ListView? I…
-
2
votes1
answer238
viewsHow to obtain Arraylist from Listview?
I have a screen in my application with several fields, spinners and a listview, one of the spinner is products. When I select a product in the spinner and click on a button called add, the…
-
2
votes1
answer54
viewsRemove child from an Expandedlistview
Hello, I would like to know how to remove a subitem from an Expandedlistview, in other words remove the Adapter item, where the Adapter receives a Map<Categoria, List<SubCategoria>> and…
-
2
votes1
answer98
viewsASP.NET C# Listview Itemcommand is not working
Man ItemCommand of ListView does not work. Can anyone point me out if there is something missing or errors in the code? <!-- Primeira Coluna --> <div id="firstCollumn"> </div>…
-
2
votes2
answers882
viewsHow to organize data from a listview?
I have a list view of times where it says the name of the line, the stop , time and state. If someone can explain me how the organization works in android I would just need to know how to…
-
2
votes2
answers41
viewsUpdate Listview from a sorting Radiogroup
I’m trying to update a ListView populated with database data from an ordination of a RadioGroup. Here are my codes: private List<ApplicationInfo> mAppList; private SimpleCursorAdapter…
-
2
votes0
answers642
viewsDisplay button while sliding Listview item
I need to make two buttons appear when I slide an item from ListView to the left. I even managed to do that, but it’s pretty ugly. I would like them to appear as if they were being "pulled" from the…
-
2
votes0
answers168
viewsFilter in listview takes item from wrong position
In Listview without using the filter when you click it shows the correct data in the other Activity, but when you filter one item it changes the position and passes another ID the data has nothing…
-
2
votes1
answer2305
viewsPass and grab the Commandparameter from a Xamarin Forms button
How to pass a value that is in one Binding for CommandParameter of a button that is inside a ListView to the ViewModel ? The button is accessing the Command but I don’t know if this is how the…
-
2
votes4
answers1341
viewsUpdate Listview after return with Popasync in Xamarin Forms
How to update the ListView after returning to the View using the PopAsync ? I need the ListView load items from it after the Address Insertion View saves a new address. OBS: The PushAsync or…
-
2
votes1
answer365
viewslistview with text image and subtitle
I’m building a sales app where a user will publish their product with: image, price, description and value. I can list the photo all right but I can’t put a title and the other descriptions Here’s…
java android listview android-fragment android-adapterasked 7 years, 10 months ago Felipe Moreira 25 -
2
votes2
answers611
viewsHow to delete a particular data from a listview?
The app has two Uttons that when clicked add an item to a listview (bow and sword), but I would like if the item of each button was already present in the listview, the same would be deleted.…
-
2
votes1
answer94
viewsHow to get the Listview reference of a Listfragment?
I’m with a ListFragment trying to access the ListView in which the Adapter inserted the objects, but the findViewById is returning null, anyone has any idea? The XML Fragment code: <?xml…
java android listview android-fragment android-adapterasked 7 years, 7 months ago Danilo Nadolny Vizentainer 23 -
2
votes1
answer59
viewsAdd interaction in listview!
I have a problem in my listview. I’m listing all the cars that the user has, but when he clicks I want to get the information of this car to process, only in the tutorials that I see the guys have…
-
2
votes0
answers113
viewsEdittext does not open the keyboard inside the listview
A listView within a dialog and put in front of each information one EditText, but when I click on EditText to change the information it puts the cursor inside the EditText, but does not open the…
-
2
votes1
answer235
viewsXAMARIN - List View with Binding without Information
I’m doing a project with Xamarin.Forms and I have a problem. The project is related to the bus route of my city, but when making the code and playing to the screen, as much as it has BINDING the…
-
2
votes1
answer102
viewsMessage from "Empty Child" on an Expandable Listview on Android
I want to create a statement to the user stating that a Group of an Expansible Listview does not contain any Child (That the group is empty) as in the image below. Searching the net, I noticed some…
-
2
votes0
answers28
viewsCreate a groupedList with map
Hello, I’m new to flutter and I’m trying to create a list with grouping using the map, but I’m not getting... I saw that I can use the Groupedlistview, but how to map it? GroupedListView( elements:…
-
1
votes2
answers1054
viewsKeeping an item from a selected Listview when pressed
I’m developing a listview, and I need to leave a selected item when I click, and then take the position of that item, in order to do the inversion of two items, which is up with what is down for…
-
1
votes2
answers569
viewsHide and show the header of a listview when scrolled
I’m developing a app for Android using Android Studio, and want a listview with header where the header is hidden when the list is scrolled down, and it appears when scrolled up regardless of the…
-
1
votes2
answers864
viewsHow to get the registry ID that is populated in Listview
How do I get the Listview ID? Follow my shorthand code: UPDATE How do I get the REGISTRY ID that is populated by Sqlite in Listview. public class MainActivity extends ActionBarActivity { private…
-
1
votes2
answers3604
viewsPassing parameters from one Activity to another
I need to pass the name of a product selected in a ListView to be presented in a EditText. I am currently on the screen that the user informs the customer and then opens the screen of new order, on…
-
1
votes3
answers4496
viewsClick and hold the Button / Listview
How to program to click and hold down call a method other than just a normal click? I would like tips, tutorials something that can help me. I’m having a new problem using the Onitemclick method and…
-
1
votes1
answer858
viewsOrdering a Listview alphabetically in Vb 6
I have two lists A and B, the data of the list A are exported from the BD, these already bring ordered alphabetically to the list. From this list I add data in the other list (list B), the data that…
-
1
votes1
answer923
viewsClick and hold on Listview
As I program to click and hold down call a method other than just a normal click in Listview? I would like tips, tutorials something that can help me. @Override public void…
-
1
votes2
answers3071
viewsPass information from a selected item in the list to Edittext
Hello, I’m in trouble when I select a client in a Listview, I have to pass his name to a Edittext of the other Activity and pass the address also. But when I select the Customer he is grouping the…
-
1
votes1
answer692
viewsProblems sending data from one Listview to another Activity
Questionadapter public class Questionaadapter extends Basepter Implements Onclicklistener { private List<Pergunta> lista; private Context context; public PerguntaAdapter(Context context,…