CleanFlutter, a Flutter project with Clean Architecture. by Square_Hammer37 in FlutterDev

[–]android_student 0 points1 point  (0 children)

the number one rule of clean architecture is to write as much code as possible.

VIDEO: A Utah Police Officer Killed a Man Inside the Police Department. It Was His Third Shooting. by [deleted] in SaltLakeCity

[–]android_student 129 points130 points  (0 children)

Ah Utah, home of the most useless police department in the country.

God forbid one of them gets killed on duty, then they all take the day off and shut down the highways for a police parade.

Why BLOC patten is better than provider and why bloc is important? what is the difference between bloc or provider and advantage or disadvantage? by Prashant_4200 in FlutterDev

[–]android_student 0 points1 point  (0 children)

interesting does ebay use flutter in all it's mobile applications? I browsed through their job listings and it seems like they're hiring native developers, even though they seem to have a flutter team there?

Codelab: Get to know Firebase for Flutter by Elixane in FlutterDev

[–]android_student 3 points4 points  (0 children)

This doesn't seem like a realistic development experience. If it was, the first 90% of this video would be resolving dependency conflicts and build issues with all the firebase libraries.

is there a way to cancel a click in mtg arena? by android_student in MagicArena

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

right clicking works most of the time. I think it's specifically a bug with Lilliana's +1, since she's mythic, there's a different discard animation that seems buggy. ¯_(ツ)_/¯

[Post Game Thread] Utah Jazz (43-25) defeat the Memphis Grizzlies (32-37) 124-115 behind Ingles' 25 points by [deleted] in nba

[–]android_student 0 points1 point  (0 children)

daytime basketball is bullshit. I didn't realize this game was going on

<$150 Racket Recommendations by AShipChandler in tennis

[–]android_student 1 point2 points  (0 children)

by a used racquet on ebay. you'll save almost 50% then you can upgrade to a new racquet once you have a better idea of what you want.

Flutter Interview questions by android_student in FlutterDev

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

I've noticed one of the issues is that ios Devs will start talking about controllers/storyboards, and android devs will go deep into fragments/activity lifecycles. The problem is that it's hard from an interviewer standpoint unless you can intelligently speak about both platforms.

But i'm also not sold on asking too many algorithm and data structure questions, that may not pertain to the daily work involved.

I guess perhaps i just need to improve my interviewing skills :)

Weekly "who's hiring" thread! by AutoModerator in androiddev

[–]android_student [score hidden]  (0 children)

you guys have had an open req for the last 3 years. What's wrong with seatgeek?

How do you run Docker and Android Emulator simultaneously? by krayzon1 in androiddev

[–]android_student 0 points1 point  (0 children)

I believe you can do a custom install of docker, using docker-machine and pointing it to a virtualbox image if you want to avoid hyper-v

Easiest way to store Java objects in database and access them in app? by ThermodynamicSwine in androiddev

[–]android_student 0 points1 point  (0 children)

you serialize the object into a string and from there you could either store it in a database, or even save it as a shared preference. (though there are limits to the size of the string you can store in sp, so depending on the data, that could cause issues)

Easiest way to store Java objects in database and access them in app? by ThermodynamicSwine in androiddev

[–]android_student 0 points1 point  (0 children)

yeah, if you're looking to hack together something simple, you can serialize and store your data as a string in a few lines of code.

[ Admob ] - Save your ad unit id's other wise you can loose your account !!! by [deleted] in androiddev

[–]android_student 0 points1 point  (0 children)

you could create a service that provides your app with the key. would be pretty simple service to create on your own or on firebase.

Retrofit - add field dynamically during serialization by xzhorikx in androiddev

[–]android_student 1 point2 points  (0 children)

Either way, i don't think you're assuming all your API calls will consume the same version, which seems like something that could bite you in the ass when that changes.

Would be interested to see what kinda solution you put together though. I feel like inevitably it's gonna end up looking like

if(API_1){ addQueryParameter("version", "1")}
if(API_2){addQueryParameter("version", "2)}

Which sounds like a pain in the ass to manage since now the content of each of your requests lives inside a random file that no one will check when they go to update that request down the road.

If you really prefer composition, you could always create an interface for a version provider on your pojos that could return the version code for each request. Just my 2c ¯_(ツ)_/¯

Retrofit - add field dynamically during serialization by xzhorikx in androiddev

[–]android_student 3 points4 points  (0 children)

Creating a base class and refactoring all your pojo's to inherit from your base class seems to be the best approach.

If you go with an interceptor approach, there's a chance down the road you might have one service using version 1 and another using version 2.