0

what is an adapter in Java(Android)

Hello guys I am into some app development and needs to know about what is adapter like image adapter, array adapter and any other adapters...how does it work as a bridge

20th Jul 2016, 4:03 PM
Yatin Gaikwad
3 odpowiedzi
0
an adapter is used to react with or modify objects created from the xml side of your program during runtime. If you create a list box through the xml and want to populate it during runtime your java code uses an adapter to access and change that list box.
21st Jul 2016, 12:17 AM
Dwayne Barsotta
Dwayne Barsotta - avatar
0
Thank you Dwayne..:)
21st Jul 2016, 4:24 AM
Yatin Gaikwad
0
Adapter is an OOP design pattern. You can use an adapter to transform one interface/class into another one.
22nd Jul 2016, 10:28 PM
gorlok