PayUI
仿微信支付输入界面
Install / Use
/learn @a5533348/PayUIREADME
PayUI
预览

使用
这个弹出层是一个DialogFragment,逻辑都封装在其内部,使用起来很简单:
Bundle bundle = new Bundle();
bundle.putString(PayFragment.EXTRA_CONTENT, "提现:¥ " + 100.00);
PayFragment fragment = new PayFragment();
fragment.setArguments(bundle);
fragment.setPaySuccessCallBack(MainActivity.this);
fragment.show(getSupportFragmentManager(), "Pay");
通过InputCallBack接口回调输入的支付密码,可以在回调方法中请求判断支付密码是不是正确的,也可以在PayFragment内部自己修改判断,没有用到什么高深的技术,大家看代码自然就明白了。
博客地址: Blog
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
