Comments (14)
A library with View DSL alternative: https://github.com/LouisCAD/Splitties/
from anko.
It's still very much usable, and there's no way I'm going back to XML layouts!
However, it looks like Jetpack Compose is going to be the way forward, from what I've seen.
from anko.
Is somebody fork this repo and continued a work?
from anko.
Splitties View DSL is a pretty good alternative. And from my point of view it has better architecture - it doesn't tighten views to Android internals (Activities/Fragments).
from anko.
@Zhuinden you can use an XML βbridgeβ layout to preview layouts created from code, see https://github.com/LouisCAD/Splitties/tree/master/modules/views-dsl-ide-preview
from anko.
Layouting is the one thing I'd definitely stick with the officially supported tooling. You could even use this thing but why would you? π€
from anko.
Here's what you're looking for https://github.com/zengzzGithub/AnkoX
from anko.
Very sad. It is full of very useful staff which is still not available anywhere else.
Like works with Intents/Activity.
AndroidX should adopt the most useful things.
Great would be release just some small maintenance release.
Like remove deprecated stuff, async stuff (we have coroutines) and convert it to AndroidX.
Or at least accepting PR.
Forks are great but, but if nobody put it back to one product, it loses sense.
Here is an overview of all existing forks
https://techgaun.github.io/active-forks/index.html#Kotlin/anko
from anko.
I should have seen this. Wasted 5 hrs to figure out bug in library itself
from anko.
If you need a custom, vendor-independent layout framework, there are Anvil and Litho already.
Compose is just one more result of NIH syndrome.
from anko.
This library is now deprecated, see https://github.com/Kotlin/anko/blob/master/GOODBYE.md
from anko.
XML layouts still have the easiest preview capability and most familiarity. Until Jetpack Compose comes out, XMLs are the way to go.
from anko.
Thanks @vkotovv for making the library and thanks for making it clear it has no future. Off to Splitties I guess :)
from anko.
https://github.com/Kotlin/anko/blob/master/GOODBYE.md
from anko.
Related Issues (20)
- Alerts with no system bar, or: how to get dialog before show() ? HOT 1
- How to use linearLayout in verticalLayout? HOT 1
- hintTextColor can not work in anko? HOT 1
- Error: void org.jetbrains.anko.appcompat.v7._AlertDialogLayout.forceUniformWidth(int, int) is not being kept as e, but remapped to d
- Feature request: share file
- Android Q support
- Maybe Not update anymore for this project? HOT 1
- Maybe Not update anymore for this project? HOT 11
- Is this project discontinued? HOT 5
- Textview cannot accept new line from Resources strings HOT 2
- something issues of anko.include() dsl
- Fix reference - Listeners not working HOT 1
- about Anko performance HOT 8
- Selector no cancel listener HOT 1
- textView.setMaxWidth() does not work
- Is SDK28 Available In A Repo Somewhere? HOT 1
- Style selector text? HOT 1
- Please archive this repository. HOT 3
- What if I don't want to add the view directly?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anko.