sở thích là một cơ chế trọng lượng nhẹ yo cửa hàng và lấy cặp khóa-giá trị của kiểu dữ liệu nguyên thủy. nó thường được sử dụng để lưu trữ các ứng dụng prefernce, chẳng hạn như một lời chào mặc định hoặc một mặt trận văn bản của được nạp mỗi khi ứng dụng được bắt đầu
cuộc gọi đến đọc và viết các giá trị
gán tên cho thiết lập của bạn thích nếu bạn muốn chia sẻ với các thành phần khác trong cùng một ứng dụng, hoặc sử dụng không có tên để giữ chúng tới các hoạt động kêu gọi
bạn không thể chia sẻ sở thích trên ứng dụng (ngoại trừ bằng cách sử dụng một nhà cung cấp nội dung)
đang được dịch, vui lòng đợi..