The XML layout sample for android on readme is right?
- Ngôn ngữ chính
- Java
- Star
- 1.4k
- Fork
- 89
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
First I translate the kotlin code on readme sample
``` java
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_gif_list);
bindingViews();
}
private void bindingViews() {
xml(R.layout.activity_gif_list, () -> {
withId(R.id.loading, () -> {
visibility(progressVisibility);
});
});
}
```
and how I make it works
``` java
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_gif_list);
bindingViews();
}
private void bindingViews() {
Anvil.mount(findViewById(R.id.activity_gif_list), () -> {
withId(R.id.loading, () -> {
visibility(progressVisibility);
});
});
}
```
I can fix it on readme if you approve...
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.