r/androiddev • u/xZ4FiRx Note 8 • Feb 23 '18
Introducing Flutter (Google Developers)
https://www.youtube.com/watch?v=fq4N0hgOWzU33
u/Nexxado Feb 23 '18
I encountered Flutter about a week ago, the concept looks really promising in my opinion.
For those who wants to understand what's exactly new about Flutter and what's the difference between Flutter and frameworks like React-Native, I recommend reading this article
Though note that Flutter is still in Alpha and some features don't work yet, such as inline maps & Instance state not being saved when app is killed by OS.
26
u/Zhuinden Feb 23 '18
Instance state not being saved when app is killed by OS.
Lol that's just as bad as Xamarin.Forms then
12
u/FrozenCow Feb 23 '18
I still fail to see much value in flutter if they do their own rendering and avoid reusing OEM widgets. No wonder a maps widget gives them trouble. Basically it seems like they are reimplementing (not reusing) OEM widgets with all of their tiny details that makes an app easily feel a bit off (animations, shadows, colors, measurements).
I'd rather rely on the OEM widgets and be able to reuse those. Even moreso when a new theme is being thought up yet again by Google/Apple and you (or the flutter team) need to imitate all of their details again.
5
u/Darkglow666 Feb 23 '18
The benefits and downsides to this approach have been well documented in the many articles on Flutter tech out there. In the end, everything is a trade-off, including using OEM widgets. You just have to decide where your priorities are.
7
u/FrozenCow Feb 23 '18
It is clear to me that it is a trade-off and they it was a conscious choice for the flutter team to use custom widgets. However, many frameworks have done the same thing in the past and have had lackluster results (imo) on mobile.
Qt was one of them. Even though it allows for very performance mobile applications, it doesn't feel right. Whatever the time you put into making it look and feel right, it keeps being an uphill battle against the Android and iOS design teams.
The same it true for webframeworks like ionic. Yes, it feels somewhat similar to real apps, but most people are very familiar with their os and small variations will feel off. Also, like before, it's an uphill battle.
I think React-native has the right approach. It allows you to reuse components like toolbars, sidebars, snackbars, fabs and their strange submenus and whatever Google/iOS designers come up with tomorrow. The map component mentioned above is another very good example that you want to reuse.
Don't get me wrong, I think it's good to have yet another option. It's good to see the exploration in how to build a good UI framework. I personally just won't choose for this approach because I have my doubts regarding the long run.
3
u/la__bruja Feb 24 '18
Out of curiosity, have you tried any of the Flutter poster-child apps, like Flutter Gallery or Hamilton? I showed them to couple of people and they'd all say they look and feel exactly like a regular native apps.
I agree that the custom widgets are a trade off, but is it really that bad? In case there happens Material Design 2.0 or whatever, the worst that can happen here is that your app will look outdated in couple of years, in which time either Flutter as a whole will be dead (in which case you're boned anyway), or users/maintainers will implement it as well, in which case you're probably not worse than with a native app, where you'd have to wait months (at least) for support library implementation that's a chore to style properly
1
u/FrozenCow Feb 24 '18
Well, it isn't bad necessarily. When your app will look outdated I'd like to have the option to refresh the app by using new components. That will become awfully hard when relying on the Flutter team to reimplement all widgets.
As for the Flutter Gallery, yes, it looks quite similar. They have done a good job resembling the Android Material design. However, it still doesn't match what I expect. For instance, the bottom bar doesn't show the ripple animation when pressed (it just flashes a gray circle). In addition, animations in general seem to go much faster than they do in other apps. The margin/padding of the dialogs seems off. The floating action button again does not show a ripple effect. They do not have an example of a submenu for the floating action button (which is quite a hassle to implement on your own). Pull to refresh behaves incorrect when pulling and pushing it back.
All of these are minor issues, but they do add up.
Lastly it also doesn't work at all with TalkBack. TalkBack doesn't recognize any of the components and therefore you cannot use any part of the GUI.
3
u/la__bruja Feb 24 '18
I get what you're saying, but only talkback (which seems to be a regression) and pull to refresh bother me personally. Lack of ripple, off animations (which you can adjust I think) and paddings aren't really something I'd call a deal breaker for Flutter, especially during alpha. But then again, maybe I'm just excited to be able to try something where I don't have to fight the framework at every other step
1
1
u/la__bruja Feb 24 '18
Even moreso when a new theme is being thought up yet again by Google/Apple and you (or the flutter team) need to imitate all of their details again.
As opposed to native Android development, where e.g. all of Material design was promptly and flawlessly implemented by the system/support libraries and reasy to use, right? /s
2
u/FrozenCow Feb 24 '18
Haha you're so right on that one. Hopefully Google will allocate some developers toward the ideas of their designers next time :(.
It would be quite hilarious when new components will be created for Flutter before they are implemented in Android itself.
6
u/johnxreturn Feb 23 '18
I’ve been hearing about flutter for close to a year now. Meant to look it up and whatnot. Thank God I didn’t, seems like they’re still missing fundamentals and it’s in alpha stage for like ever now.
4
u/ortonas Feb 23 '18
Yes, but you can already make a product that is more cost and time efficient than 2 seperate projects for iOS and Android.
4
u/johnxreturn Feb 23 '18
And the same could be argued for Xamarin.Forms and react native.
From my understanding flutter has better speed and compatibility, what makes me not wanna use it is the smaller community and still being in alpha stage. What next, 3 years on beta ?
1
u/la__bruja Feb 24 '18
Gmail was on beta for years ;) But yeah, there's still lots of rough edges in Flutter
88
u/drabred Feb 23 '18
I might get downvoted hard but as long as it is Alpha and has a little tracktion at all I'm not going to bother. Flutter might be as well dead in a year or so.
However, It does not mean that It can't go the complete opposite way. I'll be happily surprised then.
7
u/qualverse Feb 24 '18
I doubt it, it's already been around for a couple of years and it serves as the base for Fuschia.
25
u/PeopleAreDumbAsHell Feb 23 '18
You're completely right. Hell, you can't even trust anything Google puts out that's been around for years
18
u/Darkglow666 Feb 23 '18
Good thing there are people out there braver than you, or nothing new would ever gain traction. ;)
26
u/drabred Feb 23 '18
It's just... you got to be careful with Google and their things. You remember those Material Design presentations with beautiful smoothn transitions and animations between fragments and activities? Oh boy little did we know...
14
u/Darkglow666 Feb 24 '18
Of course. Early adopters and pioneers sometimes get burned. But without them, there are no new discoveries and nothing moves forward. I was just pointing out that not everyone can sit back and wait for new things to become mature, because without adoption, nothing becomes mature.
9
u/BlueBerrySyrup Feb 24 '18
Right, but Google has a bit of a history of abandoning their projects, so it would be wise to be wary of their hit new thing.
8
u/Darkglow666 Feb 24 '18
I don't really think that's a fair characterization, though it is common. All big companies who engage in R&D extensively hit dozens of technological dead ends, and they abandon things that don't fulfill their initial promise, or things that are superseded by better ideas. The only difference here is that Google is nice enough to let you see what they're working on. They even typically license it as open source, so that even if they don't think it's worth continuing, you can. For that, I believe they deserve praise, not disdain.
0
u/7165015874 Feb 24 '18
My question is: is flutter free and open source enough? If it is, then why do we need Google's patronage? The community should just continue working on it if Google decides to wash its hands off of it. If it is nominally free and open source like dot net core (shame on you, Microsoft) is, then we should call them out on their marketing.
1
Feb 24 '18
What's your point about the mockup material animations? If you mean "those animations were basically impossible to achieve in Android" then... duh. We all knew that at the time. Android's animation API has been and always will be shit. I should say "APIs" because there have been about 5 different attempts.
That's one of the main motivations for making Flutter in the first place.
6
u/MainFoot Feb 23 '18
I think I'm gunna be sold on it once it gets a few(a lot) more libraries...Way too much is missing at the moment.
7
Feb 24 '18
Dart looks like a step back from kotlin imo, if they went with kotlin instead i'd be much more interested in looking into flutter.
1
76
u/VasiliyZukanov Feb 23 '18
RANT WARNING!
Sorry Google, but could you please make up your mind?
DataBinding, Kotlin, Arch Components, numerous Android arch blueprints, Flutter... It would be great for both beginners and experienced devs if there would be just one single way to develop Android application recommended by Google.
And no, I'm not buying BS about "we just provide options; it's never bad to have options".
If the framework is good, then having multiple options is always bad. It is only when the framework sucks and developers need to wrestle with it that multiple options become useful. I might like to kick framework's ass with Arch Components (not really); that pretty girl would use Flutter; and this guy over there uses Jiu Jitsu style grabs with RxKotlinMVPVMFlutterBinding.
And here are the news: developing workarounds is community's responsibility. Your responsibility is to make the core platform better. It took you 9 YEARS to allow us to specify custom text font in XML, but, meanwhile, you developed Fragments, Loaders, DataBinding and a bunch of other controversial stuff.
Honestly, it was much better back in the days when, per Dianne Hackborn's statement, this was the official policy: "we often don't have a strong opinion or really an opinion at all". Less than two years later you managed to completely confuse EVERYBODY in the community about development practices, design and architecture.
Being new to Android development today is analysis paralysis hell - there are just too many options to choose from, each of which is not exactly simple by itself.
To me, a person familiar with "internal enterprise politics games" in general, it looks like there is just a competition going on between multiple teams at Google, each of which wants to promote its product, regardless of consumers' interests.
So, thanks for Flutter - yet another project that consumes community's resources and attention, without a clear roadmap and commitment, and without any reasonable justifications for its existence.
Maybe it should be added to this post that "praises" many Android features.
30
u/kllrnohj Feb 23 '18
There is a primary, single recommended way to build Android applications - Android framework with kotlin, support library, arch components, and all that.
Flutter is not the recommended way to build Android apps. Flutter is positioned as a way to build cross-platform apps. As in, think about Flutter as competition for Xamarin or Cordova, not as competition for Android framework & friends.
8
u/VasiliyZukanov Feb 23 '18
There is a primary, single recommended way to build Android applications - Android framework with kotlin, support library, arch components, and all that.
This is very broad of a description, but even in this broad form it is incomplete IMHO.
Do you have a link to the resource that states this on behalf of Google?
Because if I go to e.g. official Android blueprints, I can see at least 13 "live" or "in progress" blueprints and 3 "deprecated".
Flutter is not the recommended way to build Android apps. Flutter is positioned as a way to build cross-platform apps.
Is this an official statement? Are you from Flutter team?
Because if I read this post or go to Flutter official web-site, the stated benefits of Flutter are not conditioned by cross-platform development requirement.
What they say is that Flutter is "revolutionary" and "better" than e.g. native Android. Period.
In fact, "Unified app development" is the last entry on the official website, which is telling.
As such, I don't see how it is positioned just for cross-platform apps.
As in, think about Flutter as competition for Xamarin or Cordova, not as competition for Android framework & friends.
Again, unless you are on Flutter team and is authorized to speak on Flutter behalf, this is just not what's going on.
Now there are two competing approaches for Android development by Google, and I, as developer, need to choose just one.
10
u/kllrnohj Feb 24 '18
Do you have a link to the resource that states this on behalf of Google?
d.android.com has zero references to Flutter, React Native, or anything like that. The very first thing on the "Develop" page ( https://developer.android.com/develop/index.html ) is "Android Architecture Components 1.0 Stable. A collection of recommended libraries that help you design robust, testable apps are now stable for use in production apps and libraries."
Because if I go to e.g. official Android blueprints, I can see at least 13 "live" or "in progress" blueprints and 3 "deprecated".
I'm not sure what you're getting at. You linked to a collection of samples, and seem to be surprised that it's a collection of samples?
Because if I read this post or go to Flutter official web-site, the stated benefits of Flutter are not conditioned by cross-platform development requirement.
Sure it is. They say Flutter is a way to build mobile apps, and they never say it's a better way to build Android apps.
The very first thing said on Flutter's official website is: "Flutter is a new mobile app SDK to help developers and designers build modern mobile apps for iOS and Android." (emphasis added - but it's obviously cross-platform)
What they say is that Flutter is "revolutionary" and "better" than e.g. native Android. Period.
There's no claim that I can see on either the post you linked or flutter's website that says Flutter is better than native Android. Period.
But here: https://flutter.io/faq/#what-are-flutters-guiding-principles
The entirety of the guiding principle beliefs is about being cross-platform.
-1
u/VasiliyZukanov Feb 24 '18
Alright. You won.
There are clear official guidelines as for how to build Android apps, and Flutter is positioned for cross-platform development and people who promote it don't try to "sell" it to native Android developers.
Sounds totally reasonable.
4
u/MisterJimson Feb 24 '18
There is no reason “native” developers can’t be interested in cross platform frameworks. It’s best to have experience in both approaches (flutter or other). Makes you more well rounded and able to speak to these types of frameworks better.
Also certain projects may be better suited to a cross platform framework, instead of doing native development on 2 platforms.
5
u/stefblog Feb 23 '18
WTF. Google only supports Kotlin. It doesn't recommend to beginners to start with Kotlin for example. Also that language is like 3 years old and you're talking about it like it replaced java already. It's nowhere near that. 99% of all android apps are still written in Java. Jeez you guys just get off the freaking hype train for a minute and put your feet back on earth. This is getting REAL tiring. And of course you're all excited for something that's so freaking useless. So unsurprising on that subreddit.
6
u/kllrnohj Feb 24 '18
It doesn't recommend to beginners to start with Kotlin for example.
Says who? The samples for the new libraries are already starting to switch to Kotlin. The new Paging library, for example, has its samples in Kotlin: https://github.com/googlesamples/android-architecture-components/tree/master/PagingSample/app/src/main/java/paging/android/example/com/pagingsample
Also that language is like 3 years old
Kotlin is 7 years old.
99% of all android apps are still written in Java.
Irrelevant to what it recommended to start with now.
3
u/GitHubPermalinkBot Feb 24 '18
1
u/pelpotronic Feb 24 '18
I think the point about 99% is that, as a beginner, you should still totally learn Java as most apps you will work on are likely to be in Java.
-4
u/stefblog Feb 24 '18
Yeah so you're admitting you're thinking that kotlin, thats basically used in 1% of apps, is the standard to build Android apps. My sides. Also the fact that it's 7 years old is completely irrelevant, it doesn't make it more useful, or widely adopted.
3
u/kllrnohj Feb 24 '18
I said nothing of the sort? But if you want to hate Kotlin go for it, I don't give a shit.
1
u/Zhuinden Feb 24 '18
I feel like I'm echoing myself because we have talked about this, but Kotlin isn't nearly as bad as you make it seem.
Most samples I've seen online using it do suck, though.
8
u/Darkglow666 Feb 23 '18
I think you miss the point of having options. No framework/approach can be everything to everyone for every project. Some are better suited to certain kinds of projects, and personal taste shouldn't be discounted either. There are some benefits to having "one tech to rule them all," but there are a lot of downsides, too. The options drive innovation as they compete for mindshare. Stable tech is stable, but it also tends to stagnate.
2
u/VasiliyZukanov Feb 23 '18
As I preemptively said, I'm not buying this.
I think you miss the point of having options.
Probably not.
Some are better suited to certain kinds of projects, and personal taste shouldn't be discounted either.
Personal taste should absolutely be discounted by a company that owns the most popular OS/framework on the planet. As I said, accounting for personal taste is an option for the community, not for framework maintainers.
The options drive innovation as they compete for mindshare.
Wat? IMHO, options drive churn and waste.
And yes, they compete for mindshare, which is exactly the problem I descried - having multiple options all of which competes for developers' mindshare, thus wasting our time and effort.
Again - options is something that community generates. Framework maintainers should recommend just one solid approach.
Stable tech is stable, but it also tends to stagnate.
You will need to explain what you exactly mean by "stable tech" and "stagnate", but Android framework doesn't fit any criteria of "stability" I'm aware of.
8
u/Darkglow666 Feb 23 '18 edited Feb 23 '18
I disagree with you wholeheartedly. The company in question has the resources to experiment with new approaches, so if they're capable of contributing to the innovation, I support them 100%. The community tends to produce hundreds of poorly considered options that end up being dropped because only one in a million are so great that traction is accumulated. One of the main reasons Google has resisted becoming a monolithic company like Microsoft or Oracle is so that it doesn't stop innovating when it becomes huge.
I think the advantages of Google creating alternatives to developing on its own platforms are greater than the costs, and in fact may even keep the communities vibrant, which will increase the platform's longevity.
Churn and waste are absolutely inevitable until humans can create perfection on their first try every time. As it stands, we are pathetic creatures who require churn to get anywhere.
4
u/VasiliyZukanov Feb 23 '18
One of the main reasons Google has resisted becoming a monolithic company like Microsoft or Oracle is so that it doesn't stop innovating when it becomes huge.
Haven't you heard? It is 2018 now and it is no longer in fashion to paint Microsoft in black.
Also, Steve Yegge probably wouldn't agree with you about Google's innovation ability.
Seriously though, the jump you did from Android to comparing Google to other companies is not constructive. Feels like something PR people or developer advocates would do.
4
u/Darkglow666 Feb 23 '18
Agreed on Microsoft's new direction. I should have specified "old Microsoft." I'm a big fan of what they're doing now.
Yeah, I've read that article on Google's inability to innovate, but I think it focuses too much on Google's main sources of income, such as ads. Sacred cows like those do tend to stagnate a bit as the company becomes understandably risk averse with them. The article ignores all the many, many satellite efforts Google backs, though, and one of those produced Flutter.
I use some Google tech, like AngularDart, but I'm also a C# developer with no motive to do Google PR. Just trying to set the record straight as I see it.
4
u/jackhexen konmik.com Feb 24 '18
Be care: the single recommended way can easily be the worst. As Android history shows (and history from other fields), sane ideas are rare.
1
u/VasiliyZukanov Feb 24 '18
Single recommended != single possible.
IMHO it is always better to have one single officially recommended way of doing things.
If it happens to suck, then the community can come up with other ways and de-facto standard will emerge. This happened with networking (okhttp, retrofit). This happened with dependency injection (Dagger). This seem to slowly happen with concurrency (RxJava).
If Google would not go into "architecture business", we would probably already have de-facto presentation architecture (MVP).
I was very active in this field in the past years, and there is no doubt in my mind that Google threw our community years backwards in this area. Two years ago the community already agreed that MVP is the way to go, and all that remained was to actually see which of the alternative implementations will be adopted. To this day I can't understand why Google came up with DataBinding and used their entire PR budget to steer our community into MVVM direction.
Sane ideas are rare, I agree. But when they emerge they must have equal opportunity or they might be silenced.
That's what Google does in the past years IMHO - silencing good ideas from community with bad internal ideas supported by a huge PR budget and an army of developer advocates.
2
u/jackhexen konmik.com Feb 24 '18 edited Feb 25 '18
Erick save us from RxJava as a recommended way. I'm so tired of debugging/entangling side-effecting spaghetti written by it's enthusiasts! :D
I would not be happy if MVP become a "standard" as well. We have too many MVP approaches (including Fragment API where fragment = presenter), and all of the approaches inherently suck (including my own library) comparing to what Web developers enjoy these days. They're literally 5 years ahead of Android developers on framework/architecture maturity. Even iOS developers have a more advaned community - just take a look at ReSwift repository stars.
To have equal opportunities for good ideas maybe we should not have one "recommended" way and that's good for Google to not have it. I'm however pissed off that they're continuing developing fragment-databinding-agara-architecture stuff, it really creates more chaotic noise than any usefulness. I can not agree more on this subject.
2
u/VasiliyZukanov Feb 24 '18
I don't use Rx myself and can totally relate to the "spaghetti" part.
However, it does look like it gains traction in the community. In any way, it is much better than AsyncTask, Loaders, Handlers, Loopers and any other concurrency mechanism Google could come up with.
Also agree on web front-end part. Frameworks like Ember and Angular are so much simpler to use than Android presentation layer, and you can actually build UI without going crazy.
All in all, it looks like we agree on most points, and just have different opinions about what would be the ideal case. Unfortunately, given Google's budgets and amount of developer advocates, neither of our opinions really matter.
1
u/Zhuinden Feb 24 '18
Erick save us from RxJava as a recommended way. I'm so tired of debugging/entangling side-effecting spaghetti written by it's enthusiasts! :D
What?! Are you saying using multiple BehaviorSubjects and setting view properties in
doOnNext()aren't canonical Rx usage adhering FRP principles? Blasphemy!Jokes aside, I always wonder how to somehow give sense to each
flatMapcall. As in, like, preserve some naming scheme to what I'm doing, instead of just calling itflatmapflatmapflatmap. I'm sure the error is somewhere intransformers, but then it'scomposecomposecomposewhich isn't better! >.<1
u/jackhexen konmik.com Feb 25 '18
They are probably canonical, but they are lame the same time. The whole story of interconnecting mutable variables with messages is a gigantic overcomplication. FRP as it is used on Android is terrible the way OOP is terrible. FRP is only slightly better because it does not require us to inherit functions in order to reuse them.
1
u/Zhuinden Feb 25 '18
Not canonical at all imo :D it creates race conditions, if it were true FRP then all streams would converge in a single stream, and there would be only 1 subscriber at the end.
1
6
u/mentaleur Feb 23 '18
This sounds too good to be true but I'm definetly intersted, I started with android studio but my humble 4 gb ram can't keep up, never saw a heavier software
3
u/sebe42 Feb 23 '18 edited Feb 23 '18
There is a plugin for vs code.
https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code
18
14
u/Keremeki13 Feb 23 '18
I might consider it if they support kotlin maybe.
16
Feb 23 '18
Dart is missing some features from kotlin, but has most of the important things like properties, higher order functions, etc.
What piqued my interest was Erik Meijer wrote in Gilad Bracha's Dart book that it was his favorite language (in 2016, maybe that has changed) because of its concurrency features that make reactive apps easy.
Also Dart 2 was just released https://medium.com/dartlang/announcing-dart-2-80ba01f43b6
Dart and flutter seem to be co-evolving. For example, they got rid of the 'new' keyword so building flutter layouts now can be done without any dart keywords, making it much nicer on the eyes (kinda of like Kotlin DSL)
4
u/netcyrax Feb 23 '18
But Kotlin has support coming for iOS (Kotlin Native).
3
u/sebe42 Feb 24 '18
Some say flutter's killer feature is the sub second hot reload, hopefully Kotlin native will have a great hot reload story.
Hot reload wasn't a feature that the flutter team had on their radar.
Seems, Flutter's hot reload was an idea that original came from the dart team, based on the way dart language is structured and the way the runtime works, the Dart team built a prototype.
Reaction from flutter guy "wow this is amazing"
2
6
u/sandys1 Feb 23 '18
same here. IMHO the adoption of Flutter would 100x if it was in Kotlin.
Dart may be a good language and all, but it doesnt have the sheer love and support of the community that Kotlin has. It is good to remember that Kotlin was built by a tiny tiny company and has won out only because of the community.
Dart has 1000X the resources - but unfortunately, none of the love
3
u/AsdefGhjkl Feb 24 '18
I don't think saying Dart was created by a huge company and 1000x the resources while Kotlin by a tiny one is correct. Dart was initially only created by a couple of people and even today only a tiny portion of Google works on it. JetBrains, on the other hand, also has a sizable team working on Kotlin.
But yeah, your base point stands - Kotlin's main strength is in how much people tend to love it - myself included.
3
u/stefblog Feb 24 '18
Ah yeah Dart. Nearly forgot about that one. Another project that everyone thought would be everywhere in 2 years, without anyone having any need for it or anything. Another fail. Kotlin is guaranteed to follow the same path. And Flutter the same path as Xamarin.
2
u/Zhuinden Feb 24 '18
Kotlin is guaranteed to follow the same path.
Kotlin has java interop.
For Dart, everything has to be Dart. Of course it's not popular.
Kotlin can use the existing Java ecosystem, just like how Android got popular because of how most libs available on JVM pretty much worked on it out of the box.
1
u/AsdefGhjkl Feb 24 '18
Yeah good troll but try again. Kotlin's been around for more than 2 years and its popularity has skyrocketed since.
1
2
u/la__bruja Feb 24 '18
Problem is, language is not only syntax -- aside from the fact that Kotlin Native is relatively new compared to Flutter, Dart has extremely cheap allocations for example, something that Flutter absolutely needs to be able to implement its reactive approach.
has won out only because of the community.
Kotlin won also because it's 100% compatible with Java and JVM
2
u/stefblog Feb 24 '18
WTF are you talking about. Less than 1% of Android devs are using Kotlin.
2
u/AsdefGhjkl Feb 24 '18
Got any data to back that up? Seems like bullshit.
1
u/stefblog Feb 25 '18 edited Feb 25 '18
I work as an android team lead in London for the past 5 years (after 10 years working with other technologies), I've got 1500+ contacts in Linkedin and I get job offers on a nearly daily basis. Kotlin was maybe mentioned, I shit you not, 2 times in the past year or so.
3
u/AsdefGhjkl Feb 25 '18
Well the job offers I looked at (senior/mid-level) mostly (that is, more than 50%) explicitly mentioned Kotlin knowledge as a plus, so that's your anecdotal evidence vs. mine. I'd reckon most experienced Android developers see the value of Kotlin and the leading industry figures certainly agree so. I've yet to see a compelling case against using it, especially from an influential Android figure, while I've seen a lot of advocacy for it from those same figures.
The only thing we see instead is the grumpy-java-guy rants about how annotations can do everything in Java as well and how Kotlin won't be around in 10 years because apparently being a younger language means it's going to die off soon.
1
u/stefblog Feb 25 '18
Who cares about a new language no one needs. No large project is built with kotlin.
1
u/AsdefGhjkl Feb 25 '18
Ok so you're just a troll, you should have said so sooner so I'd ignore you.
4
u/BOBIDDY Feb 23 '18
How is Flutter different from something like Xamarin.Forms?
8
u/zintjr Feb 23 '18
in a nutshell, XF maps it's controls to the OS controls that it is running on. So for instance, on XF the Entry control is your standard text box control.
Well when a XF app is running on iOS that Entry control will get converted into a UITextField.
When running on Android the Entry control is converted to EditText.
With Flutter the OS controls (UITextField and EditText) are not part of the picture at all. There is no conversion process. Flutter provides a TextField control and the TextField control is what gets rendered to the screen - regardless of the OS.
Flutter handles all of the rendering/drawing to the screen using it's own proprietary controls.
Hope I explained that correctly.
2
1
u/Zhuinden Feb 24 '18
XF maps it's controls to the OS controls that it is running on. So for instance, on XF the Entry control is your standard text box control.
is it? I know React Native does that, but I thought XF renders its own things using Mono?
Maybe they changed it in a version bump or something.
1
u/zintjr Feb 24 '18 edited Feb 24 '18
I think it's always been that way; lifted the text below from the overview section on their site...
Xamarin.Forms is a framework that allows developers to rapidly create cross platform user interfaces. It provides it's own abstraction for the user interface that will be rendered using native controls on iOS, Android, Windows, or Windows Phone.
and also under the Views and Layouts section it states...
At runtime, each control will be mapped to its native equivalent, which is what will be rendered.
1
u/Zhuinden Feb 24 '18
Neither of them handle
onSaveInstanceStateeven though both projects are 3+ years old, so they're both not-production-ready.
14
u/paramsen Feb 23 '18
Why are people downvoting this? I for one welcome projects like this. Makes it easier to develop agency fire-and-forget projects and PoCs.
I wonder how it compares to ReactNative in terms of performance, and I also wonder how the road map looks. Also; Why would I choose Flutter over ReactNative?
10
u/Nexxado Feb 23 '18
See my comment and the article i linked, i believe it should answer your questions
2
29
u/joey_sandwich277 Feb 23 '18
Flutter has been available in alpha for a while, why the"introduction?"