RepositoryKotlin
SK

skydoves/Needs

:closed_umbrella: An easy way to implement modern permission instructions popup.

607stars
52forks
1issues
0views

🎯 Needs – Popup hướng dẫn yêu cầu quyền hiện đại cho Android

Một cách nhanh chóng để thêm popup giải thích lý do cần quyền truy cập vào ứng dụng Android một cách trực quan và đẹp mắt.

Needs là một thư viện mã nguồn mở bằng Kotlin, phát triển bởi skydoves, giúp bạn dễ dàng triển khai các popup hướng dẫn yêu cầu quyền (permission instructions) theo phong cách hiện đại. Thay vì dùng các hộp thoại mặc định, Needs cho phép bạn tùy biến giao diện, nội dung và hiệu ứng hiển thị, đồng thời hỗ trợ cả ngôn ngữ Java và Kotlin DSL.

✨ Điểm nổi bật

  • Tạo popup hướng dẫn quyền: Dễ dàng xây dựng giao diện liệt kê các quyền cần thiết cho ứng dụng.
  • Hỗ trợ Kotlin DSL: Cú pháp khai báo ngắn gọn, trực quan bằng Kotlin.
  • Tùy biến giao diện: Thay đổi màu nền, phông chữ, kích thước chữ, icon từng mục.
  • Hiệu ứng animation: Hỗ trợ animation hiển thị như CIRCULAR.
  • Quản lý vòng đời: Tích hợp lifecycle để tránh rò nhớ.
  • Lắng nghe sự kiện xác nhận: Gọi callback khi người dùng nhấn nút xác nhận.

💡 Vì sao đáng chú ý

Needs khác biệt so với cách làm thông thường bằng cách cung cấp một bộ công cụ trọn gói để tạo popup hướng dẫn quyền một cách có hệ thống. Bạn không cần tự xây dựng giao diện hay xử lý animation — chỉ cần cấu hình nội dung và phong cách, và Needs sẽ hiển thị chúng một cách mượt mà. Đặc biệt hữu ích cho các ứng dụng muốn giải thích rõ lý do thu thập quyền trước khi yêu cầu, cải thiện trải nghiệm người dùng.


#Android #Kotlin #PermissionPopup #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
skydoves/PowerMenu

:fire: Powerful and modernized popup menu with fully customizable animations.

1.2k
Jun 28, 2023
RepositoryKotlin
skydoves/PowerSpinner

🌀 A lightweight dropdown popup spinner, fully customizable with an arrow and animations for Android.

1.3k
Oct 15, 2025
RepositoryJava
junixapp/XPopup

🔥XPopup2.0版本重磅来袭,2倍以上性能提升,带来可观的动画性能优化和交互细节的提升!!!功能强大,交互优雅,动画丝滑的通用弹窗!可以替代Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner等组件,自带十几种效果良好的动画, 支持完全的UI和动画自定义!(Powerful and Beautiful Popup for Android,can absolutely replace Dialog,PopupWindow,PopupMenu,BottomSheet,DrawerLayout,Spinner. With built-in animators , very easy to custom popup view.)

8.0k
Feb 1, 2025
RepositoryJava
razerdp/BasePopup

Android下打造通用便捷的PopupWindow弹窗库

5.2k
Jan 21, 2026
RepositorySwift
candostdagdeviren/CDAlertView

Highly customizable alertview and alert/notification/success/error/alarm popup written in Swift

1.1k
Aug 20, 2026
RepositorySwift
ennioma/arek

AREK is a clean and easy way to request any kind of iOS permission (with some nifty features 🤖)

948
Dec 4, 2023
RepositorySwift
shin8484/PopupWindow

PopupWindow is a simple Popup using another UIWindow in Swift

414
Sep 22, 2018
RepositoryKotlin
2dust/v2rayNG

A V2Ray client for Android, support Xray core and v2fly core

64.7k
Oct 25, 2026
RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

180.4k
Oct 26, 2026