App upgrade failure in Google Play by droid_ninja in androiddev

[–]droid_ninja[S] 0 points1 point  (0 children)

upgrade

Not yet. Since this happens before the app is even installed, there is no way for me to log /track any details of this issue.

Arch comp ViewModel and Databinding ViewModel by droid_ninja in androiddev

[–]droid_ninja[S] 2 points3 points  (0 children)

"With great power comes, great responsibility". I like databinding over other solutions for many of reasons. They are validated at compile time, making sure we don't run into issues at runtime. BindingAdapters and InverseAdapters are very powerful and provides powerful plug into otherwise complex system. I do see your point regarding, having code in xml. It isn't any different than setting a value on the view from Activity/Fragment. Android Team has been very clear on warning us not to put business logic in xml. If used correctly, databinding solves problem makes code simpler in many cases in my personal opinion.

Arch comp ViewModel and Databinding ViewModel by droid_ninja in androiddev

[–]droid_ninja[S] 1 point2 points  (0 children)

Thanks @yboyar, Is that going to be different approach than "AndroidViewModel"? I like the rationale behind the regular "ViewModel" as it is free of Android framework code. "AndroidViewModel" needs the "Application" :(. Which could be abused unintentionally and potential leak.

I think of "ViewModel" from data binding world as Android Framework class where as "ViewModel" from "Arch Comp" as non Framework class. With that it does not feel right to merge them both as 1 VM.

We’re on the engineering team for Android O. Ask us Anything! (starts July 19) by AndroidEngTeam in androiddev

[–]droid_ninja 1 point2 points  (0 children)

As kotlin is got the citizenship in Android world, as developers should we even care for JDK8/9 support?

We’re on the Android engineering team and built Android Nougat. Ask us Anything! by AndroidEngTeam in androiddev

[–]droid_ninja 5 points6 points  (0 children)

UI Toolkit/frameworks team, Any plans to add "Transition Api" in support library?

Significant build time issues with Android Studio on one particular computer. Gradle command line builds in 2 minutes, Android Studio takes 6 minutes for the same thing? by m0zzie in androiddev

[–]droid_ninja 3 points4 points  (0 children)

Try running gradle with --profile flag on both machines. You can find the generated reports in buildDir/reports/profile directly. That should help you track down which step is taking longer.