create adapter to fill Spinner with objects [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have an Android application with a Spinner and want to fill it dynamically with my own objects. The objects do exist already as a List<T> . The objects are of type Category : public class Category implements Serializable { private Long id; private String name; // constructors // getter & setter // hashCode,