Android 中名为 Bean 的文件夹是什么意思?

what does a folder named Bean mean in Android?

我在下图中看到了一个 Android 项目结构。 "Bean" 在这个结构中是什么意思?或为什么该文件夹名称为 "Bean"?

Bean in java 基本上是一个单一的 class 将许多对象封装到一个对象中,可以使用 getter 和 [=13= 来操作属性] method.We也称它为模型class。下面的代码片段是 bean class.

的示例
    public class Book implements Serializable{
        private String isbn;
        private String title;
        private String author;
        private String publisher;
        private int pages;
        /**
         * Default constructor
         */
        public Book() {
            this.isbn = "";
            this.title = "";
            this.author = "";
            this.publisher = "";
            this.pages = 0;
        }
        public String getIsbn() {
            return isbn;
        }
        public void setIsbn(final String isbn) {
            this.isbn = isbn;
        }
        public String getTitle() {
            return title;
        }
        public void setTitle(final String title) {
            this.title = title;
        }
        public String getAuthor() {
            return author;
        }
        public void setAuthor(final String author) {
            this.author = author;
        }
        public String getPublisher() {
            return publisher;
        }
        public void setPublisher(final String publisher) {
            this.publisher = publisher;
        }
        public int getPages() {
            return pages;
        }
        public void setPages(final int pages) {
            this.pages = pages;
 }
}

在你的情况下,我认为你指向的包包含所有的 bean classes