Top "Adapter" questions

Use this tag for questions relating to the Adapter design pattern, one of the Gang of Four's structural design patterns.

What is the difference between the Facade and Adapter Pattern?

I've been reading both definitions and they seem quite the same. Could anyone point out what are their differences? Thanks

design-patterns language-agnostic adapter facade
What is the difference between listeners and adapters?

I'm trying to differentiate between listeners and adapters. Are they pretty much the same but in listeners you have to …

java swing awt adapter listeners
RecyclerView Adapter notifyDataSetChanged stops fancy animation

I am building a component based on RecyclerView, allowing user to reorder items by drag and drop. Once I am …

android adapter android-recyclerview
How to open Menu Context Android with click button in listview adapter?

How to open Menu Context Android with click button in listview adapter ? I tried with my code, but not show …

android listview adapter android-contextmenu
How to get items currently displayed in AdapterView?

As in title: I would like to know how to get list (array) of all currently displayed items in my …

android view adapter
Understanding Adapter Pattern

I am trying to understand Adapter pattern and its use in real world. After going through various articles on internet …

c# design-patterns adapter
Difference between object adapter pattern and class adapter pattern

How to decide when to use object adapter and when to use class adapter? Problem statement: To create social networking …

design-patterns adapter
Animate newly added items in ListView

How can I animate newly added items in ListView? I have a adapter and when I add new items in …

android listview animation adapter
Android ImageAdapter with Gridview in Fragment

I have an adapter with gridview that works as an Activity. I am trying to place it in a Fragment …

java android gridview adapter baseadapter