Comments (7)
Hey guys, I have implemented the same using ConstraintLayout. Incase anyone here is intrested, feel free to checkout
from court-counter.
Thank you @kt20162 .
Your link doesn't work. I think this is the original link for your project
from court-counter.
Here is the explanation and fix https://medium.com/androiddevelopers/viewmodels-a-simple-example-ed5ac416317e
from court-counter.
Hi,
Thank you the link @KaterynaS !
I tried to do my best to understand the article.
But still I am a bit confused. So the ViewModel should fix the landscape bug?
I tried to implement to my code but when I rotate my phone it looks like the same like before. Did I miss anything?
Here is my project:
project:
Because I don't see any difference, I thought I can "fix" it if I use ScrollView( I already used it once for my first Simple Screen App) but I've got errors and it looks like my XML file here is too complicated :)
Update:
Sorry, my late reaction, I didn't see any notification and I was busy continue my study with full time job. I double checked my link and I fixed the link issue.
Good to come back, I plan to look at this again during the weekend.
from court-counter.
@LaszloLajosT where is ur project I cannot see it?
from court-counter.
A few months later, I came back to the link what @KaterynaS shared here.
I started to change my code and use ViewModel. I don't know why but I thought ViewModel will also fix my layout issue if I rotate my phone. Well, that is an another task to do now.
I can tell the ViewModel works fine, and you can find my code here..
from court-counter.
Thanks @LaszloLajosT for the correction. I have modified my post to reflect the right link.
from court-counter.
Related Issues (4)
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 court-counter.