https://github.com/gofaith/faithdroid
☆Go语言的Android GUI框架☆Android GUI lib for Go
https://github.com/gofaith/faithdroid
android framework go golang gui library
Last synced: 9 months ago
JSON representation
☆Go语言的Android GUI框架☆Android GUI lib for Go
- Host: GitHub
- URL: https://github.com/gofaith/faithdroid
- Owner: gofaith
- Created: 2018-08-20T09:16:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T13:46:53.000Z (over 6 years ago)
- Last Synced: 2025-04-04T14:37:42.667Z (12 months ago)
- Topics: android, framework, go, golang, gui, library
- Language: Go
- Homepage: https://github.com/gofaith/faithdroid/wiki
- Size: 11.1 MB
- Stars: 43
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# 全新的Go语言Android GUI框架
New Android GUI lib for GO

# [Donate捐赠](https://jywjl.github.io/donate.html)
! 正在添加iOS支持,敬请期待 !
- [中文文档](https://github.com/gofaith/faithdroid/wiki/%E5%BF%AB%E9%80%9F%E5%BC%80%E5%A7%8B)
- [Wiki](https://github.com/gofaith/faithdroid/wiki)
---
## 快速入门 Get started
1.基础示例 'Hello world' code :
```Go
package faithdroid
func (a *MainActivity) OnCreate() {
LinearLayout(a).DeferShow().Size(-2, -2).Append(
TextView(a).SetId("text").Text("text view"),
Button(a).Size(-1, -1).Text("change text").OnClick(func() {
GetTextViewById("text").Text("text changed")
}))
}
```
2.结果 Result

---
## 使用Faithdroid开发的App
[局域网精灵专业版](https://jywjl.github.io)
## Explore more
- [中文文档](https://github.com/gofaith/faithdroid/wiki/%E7%9B%AE%E5%BD%95)
- [Wiki](https://github.com/gofaith/faithdroid/wiki)