android-listview Questions

4

Solved

I'm getting a strange behavior in the ListView, and only one ListView, I have a lot of ListViews in my app, but only in this is happening. I will try explain, when I scroll to the bottom, all righ...
Yarborough asked 17/7, 2013 at 12:47

3

I have a DialogFragment and in it's layout I have a EditText and a ListView. The Listview basically shows the list of contacts (Initially this list has 0 items). When the edittext's value is update...
Jape asked 13/5, 2015 at 14:6

6

Solved

When I create a simple layout with only a ListView in it, there is no separator displayed after the last item, which looks a bit ugly. <?xml version="1.0" encoding="utf-8"?> <RelativeLayo...
Accept asked 7/1, 2013 at 15:48

1

Solved

The key issue I have is doing lv_apps.setAdapter(_adapter) TWICE is what crashes my app. (Basically, when i call populateListView_trial() the 2nd time, app crashes -- and the offending line is lv_...

1

Having a listView, if it has less content its height should go with "wrap_content". If it has more rows the max height should be limit to some height. It is allowed to set android:maxHeight in Lis...
Stereotropism asked 4/5, 2015 at 17:43

1

Solved

I am creating a Twitter client using Fabric but I can not create a custom onClick. I created this custom adapter and tried to create a OnClickListener but not working. Always open in browser tweet....

2

So, Vogella seems to suggest that ListView is completely being deprecated in comparison with RecyclerView. And not actually deprecated, but rather that there is no situation in which ListView would...
Noticeable asked 30/4, 2015 at 1:26

1

Solved

I am developing a Material Design Navigation Drawer. I've created a new class RecyclerItemClickListener implements RecyclerView.OnItemTouchListener in it to handle the user's click on the list item...

5

I have a ListView which is : <ListView android:id="@+id/list" android:layout_width="290dp" android:layout_height="166dp" android:layout_marginLeft="5dp" android:layout_marginTop="10dp" a...
Gosse asked 19/8, 2013 at 7:11

9

Solved

I just created an android app for fetching data from a website. I want to check if the device has an internet connection or not. If the device has internet connection, run my code and fetch the dat...
Sought asked 22/4, 2015 at 6:34

2

Solved

I used to the ListView add the footer view and also remove footer its worked fine in android version 4.4 above but problem in android version 4.3 and below I am using the following code for adding...
Vermiculate asked 11/7, 2014 at 14:50

7

I have a custom ListView which contains a Button. The function of this button is Delete button. Whenever user click to this button, the current Row will be deleted. How can I do it? How can I s...
Lykins asked 21/7, 2012 at 10:45

1

Solved

I am trying to get it so my listview items are elevated and show a drop shadow. Here is my list view item layout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" ...
Mccall asked 19/4, 2015 at 4:38

2

Solved

I was browsing the net for 2 days allready and tryed alot of stuff but can't seem to figure out what is wrong with this. I am still fairly new to the Android deevelopment so I probably missed some...
Hyder asked 29/10, 2013 at 10:58

1

To add the dividers between disabled items (not clickable) in ListView for Android previous to Lollipop I override adapter's method areAllItemsEnabled() to return true. But now in Lollipop this met...

3

I have a simple ListView listing results in android. Upon click of each item, I would like it to slide down expand and show the content. Is there an easy way to do this in android? Any help will b...
Igorot asked 24/4, 2010 at 15:56

1

I am using PagerSlidingTabStrip to create a sliding tabs. I was successfully able to use this library in my project. Based on selected/clicked tab, the application should send a get request to ser...

4

Solved

I am having a problem with the styling in my checkboxes which appear in listviews. The theme my app uses is Holo, but the checkboxes appear with the old style. Checkboxes that appear elsewhere look...

2

I am trying to get multiple images from gallery in my app's onActivity Result method but I am not able to create a cursor for the same . And if I do not use cursor than I am unable to get the Uris ...
Astraea asked 25/4, 2014 at 10:6

8

Solved

I want to upload multiple images one by one, like once user do tap on upload all button, it has to start with first image visible in a list, once first image will be uploaded to server then automat...
Extensity asked 14/7, 2014 at 7:49

2

Solved

I have 2 Fragments: My1stFragment and My2ndFragment. Inside My1stFragment I have a ListView which is populated by database. Also when I click on edit button I call 2nd Fragment to edit data. In...

1

Solved

So I am creating an app with 5 activities that have 5 separate soundBoards in which are controlled by 5 separate soundPools. I am also using a navigational drawer on each activity. When I run the a...

2

Solved

I'm currently using a custom list adapter and modifying the rows of the listview at runtime (changing text, buttons etc). I want to find a way to save/restore the changes made to the listview at r...
Stomatal asked 23/3, 2015 at 0:24

6

I have a ListView, and a custom style that basically looks just like Holo, but with yellow accents instead of blue. When I scroll to the bottom or top of the list, I get the un-fitting blue. I mad...

3

Solved

I can't seem to get a customized divider, using a Drawable I've defined, to work when using a ListActivity and not creating a custom ListView. It almost seems like when the VM creates its own ListV...
Nessi asked 29/10, 2010 at 4:53

© 2022 - 2024 — McMap. All rights reserved.