Most voted "adapter" questions
12 questions
Sort by count of
-
17
votes1
answer2610
viewsWhat is the Adapter standard?
What is and how the Adapter standard works in Java, I am trying to understand this pattern because I will use it in a project.
-
7
votes1
answer604
viewsDifferences between listeners and Adapters in swing
When programming java graphical interfaces using swing, we always come across both types, mainly to assign and create events from button actions or other components. Though I’ve been messing around…
-
1
votes0
answers43
viewsError to popular array, firebase, photo gallery ANDROID STUDIO
I’ve been researching this mistake for three days and I can’t fix it. I’m setting up a photo gallery for my app and need to popular an Array with the photos coming from Firebase to show them in the…
-
0
votes1
answer47
viewsGridview not updated (Android)
I am creating an app that when starting it performs an asynchronous task that queries an api, when picking the result it will insert into Adapter. I’ve tried several ways, but only the images appear…
-
0
votes1
answer37
viewsOnline image in Adapter
I have an Adapter in my App, and I would like to take pictures of my server to put in it instead of a photo saved at the root, I’ve tried several ways, I’ve tried even using the Picasso API but 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
answer16
viewsCrasha app when setting an Adapter for a Recyclerview
Hello, I’m new to Recyclerview, I’m trying to create an Adapter for it, but when I define an Adapter for Recyclerview, the crash app, someone knows why? Mainactivity /... RecyclerView recyclerView =…
-
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
votes1
answer225
viewsUpdate Recyclerview does not update the item in the list
I have a simple recyclerView and Adapter below where I do the CRUD before saving in BD, and everything works except the update, where I update the item by Adapter but the view in the list does not…
-
-1
votes1
answer23
viewsAndroid List View with "Complex" Layout
Until today I had not needed to use layouts that escape the pattern of a list for example. This time, I need to create a list view with a sort of header. For example: [{categorias: [{1, 2,…
-
-1
votes1
answer746
viewsHow to load an image from a Url into an Imageview
rs = statement.executeQuery(query); List<Map<String, String>> data = null; data = new ArrayList<Map<String,String>>(); while(rs.next()){ Map<String,…
-
-1
votes1
answer80
viewsnull Object Reference
Logcat java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean)' on a null object reference…