The FastAdapter is here to simplify this process. You don't have to worry about the adapter anymore. Just write the logic for how your view/item should look like, and you are done. This library has a fast and highly optimized core which provides core functionality, most apps require. It also prevents common mistakes by taking away those steps from the devs. Beside being blazing fast, minimizing the code you need to write, it is also really easy to extend. Just provide another Adapter implementation, hook into the adapter chain, custom select / deselection behaviors. Everything is possible.
A quick overview:
- Click / Long-Click listeners
- Selection / Multi-Selection
- Expandable items
- Write less code, get better results
- Simple Drag & Drop
- Headers
- Footers
- Highly optimized code
- Includes suggestions from the Android Team
- Easily extensible
- Chain other Adapters
- Comes with useful Helpers
-- ActionModeHelper
-- More to come...
https://github.com/mikepenz/FastAdapter
FastAdapter อยู่ที่นี่เพื่อลดความซับซ้อนของกระบวนการนี้ คุณไม่ต้องกังวลเกี่ยวกับอะแดปเตอร์อีกต่อไป เพียงแค่เขียนตรรกะสำหรับวิธีการที่มุมมองของคุณ / รายการควรมีลักษณะและคุณจะทำ ห้องสมุดนี้มีหลักได้อย่างรวดเร็วและเพิ่มประสิทธิภาพสูงซึ่งมีการทำงานหลักปพลิเคชันส่วนใหญ่ต้องการ นอกจากนี้ยังป้องกันความผิดพลาดที่พบบ่อยโดยการไปตามขั้นตอนเหล่านั้นจาก devs นอกจากเป็นที่เห็นได้ชัดอย่างรวดเร็วลดรหัสที่คุณต้องการที่จะเขียนก็ยังเป็นเรื่องง่ายที่จะขยาย เพียงแค่ให้การดำเนินงานอะแดปเตอร์อีกเบ็ดในห่วงโซ่อะแดปเตอร์ให้เลือกที่กำหนดเอง / พฤติกรรม deselection ทุกอย่างเป็นไปได้.
ภาพรวมอย่างรวดเร็ว:
- คลิก / ลองคลิกฟัง
- การเลือก / Multi-เลือก
- รายการที่ขยายได้
- เขียนรหัสน้อยได้รับผลดี
- ง่ายลากและวาง
- ส่วนหัว
- ท้ายกระดาษ
- รหัสเพิ่มประสิทธิภาพสูง
- รวมถึงข้อเสนอแนะจากทีม Android
- ขยายได้อย่างง่ายดาย
- เชนอะแดปเตอร์อื่น ๆ
- มาพร้อมกับผู้ช่วยที่มีประโยชน์
- ActionModeHelper
- อื่น ๆ ที่จะมา ...
https://github.com/mikepenz/FastAdapter