Android Developer Live Q&A #38 – Clean Architecture, Kotlin, Java, TDD

Welcome to my livestream Q&A. It’s live, and it works best when you ask questions. I mostly do this for beginners (although I’m happy to chat about advanced topics with more senior devs), so if you’re a beginner, ASK SOME DAMN QUESTIONS.

Kotlin Clean Calculator:
https://github.com/BracketCove/KotlinMVPCalculator

Want a free preview of my Beginner Android Ebook? If you like my live unscripted content, you’ll probably like my scripted content even more:
http://wiseassblog.com/android/software%20architecture/2017/11/17/dropouts_guide_samples/

Slack Channel:
https://join.slack.com/t/wiseass/shared_invite/enQtMjg5OTc3NTk0MjI5LTc5ZmNiYjAyNzJmMzFiNGFjNzhiZTU4ZDdhNDE2NzA0ODEwZTJjYjNjOWNjMDA5YmEzMDlhN2ZjMGI1Yzg5NGM

Kotlin Style Guide
https://android.github.io/kotlin-guides/style.html

Repos:
https://github.com/BracketCove/KotlinMVPCalculator

https://github.com/BracketCove/Catalyft

https://github.com/BracketCove/AndroidRestTutorial

https://github.com/BracketCove/RoomDemo2017

https://github.com/BracketCove/PosTrainer

https://github.com/BracketCove/RecyclerViewTutorial2017

If you appreciate what I’m doing here, check out these options to support me over Social Media:

G+: https://plus.google.com/+wiseass

Facebook: https://www.facebook.com/wiseassblog/

Twitter: https://twitter.com/wiseass301

Patreon: https://www.patreon.com/bePatron?u=5114325

Top 5 Programming Languages to learn in 2018

So we got Top 5 programming language to learn in 2018 and if you are just here for list, here we go:
#5 C#
#4 Swift
#3 Java/Kotlin
#2Js
#1 Python
but this is not just about it. You are on youtube to watch more than just a list. In this video, I have backed up this list with my logic and little research. There is also a section of honorable mention too.

Check https://courses.learncodeonline.in to learn these programming languages. Apps are also available for Android and iOS platform.

https://www.LearnCodeOnline.in

fb: https://www.facebook.com/HiteshChoudharyPage
homepage: http://www.hiteshChoudhary.com
Download LearnCodeOnline.in app from Google play store and Apple App store

Channel: Hitesh Choudhary
Published: 2017-11-29 11:11:12
Duration: 9M14S
Views: 530052
Likes: 9338
Favorites: 0

Android REST Tutorial – OKHttp Error Interceptors, RxJava 2, Repository Pattern, Retrofit

In this tutorial series, I’ll be explaining the fundamentals of RESTful Web Services, and what the hell that actually means. In particular, I’ll be demonstrating how to build a basic REST API to pull Repository Data from GitHub’s REST Endpoint. We’ll use Retrofit, OKHttp, and a bit of RxJava magic to make it all work nicely.

In this video, we look at a number of ways to improve our Retrofit Implementation, and how to wire the “back end” of our App to our “front end”, using RxJava 2 and the Repository Pattern. If you’re new to Rx, the latter half will be difficult. I go through it line by line though, so I might be able to shed some light on it.

Timestamps:
0:00 – Introduction
1:47 – Adding an Application level Interceptor to help handle REST Adapter Errors (Note: errors thrown here will propagate to our RxJava Implementation)
6:50 – A brief explanation of the Repository Pattern, and why it helps us to write better code with very little overhead (seriously, start doing this if you aren’t).
8:30 – How and why you might want different “DataModels” for the Front End and Back End of your Application (we’ll use RxJava’s FlatMap later to actually implement this solution, but I needed to introduce this before we can write the actual Rx stuff)
13:36 – How and why we might want to use RxJava 2 to wire up our Front End and Back End, handle errors, and manage view state.
16:08 – Writing our DataSourceInterface (This is what our Presenter will talk to) and wtf is a Flowable?
18:43 – Writing our Presenter.
37:48 – Writing our DataSourceImplementation. This thing is the Repository Pattern you keep hearing about; it allows us to hide implementation details of our back end, allowing us to change it at will without needing to change the Presenter (unless the Interface itself changes).
40:57 – Using FlatMap to transform our Data into a new type of Flowable (this is where we change DataModels).
48:47 – Building and Deploying the Project (I had to fix a few improper import errors to get it to build, you may have to do the same. It’s an unfortunate side-effect of having two duplicate modules in one project).
50:03 – Outro and some more explanation of what our RxJava 2 Implementation actual did for us.

Project Repository:
https://github.com/BracketCove/AndroidRestTutorial

Looking for a brief introduction to building Android, Software Architecture, and Object Oriented Programming/Design? Check out my ebook:
http://wiseassblog.com/products/

Livestream on Sundays (9:00am GMT -7)
http://www.youtube.com/c/wiseAss/live

Patreon: https://www.patreon.com/bePatron?u=5114325

Github: https://github.com/BracketCove

Facebook: https://www.facebook.com/wiseassblog/

G+: https://plus.google.com/+wiseass

Twitter: https://twitter.com/wiseass301

Blog: http://wiseassblog.com/

Channel: wiseAss
Published: 2017-12-19 16:11:03
Duration: 52M25S
Views: 1094
Likes: 54
Favorites: 0

Dealing with Tiredness/Fatigue, Nutrient Deficiencies, Stress, and Mental/Physical Endurance

I was asked by my friend Aye to discuss tiredness, and I ended up rambling about it for quite a while on the Livestream. This is a largely unscripted talk, but I cover most of the practices and concepts I apply to reduce tiredness, and continue to perform well even when tired.

My livestream is directed towards Software Developers, so bear that in mind if you aren’t one.

Channel: wiseAss
Published: 2018-02-14 17:08:27
Duration: 26M12S
Views: 198
Likes: 27
Favorites: 0

RxJava: Observer Pattern on Steroids – Intro to RxJava theory and building event Streams

I’ve been planning to make a more polished tutorial on RxJava soon, but a viewer asked if I could discuss it at the start of one of my Livestream Q&A Sessions, so I put together a quick lesson.

My goal is to give you an understanding of the theory and concepts behind RxJava, as well as a glimpse of it’s fairly expansive capabilities. This lesson was live, and it’s a tough subject to talk about in terms that are intelligible, so please keep that in mind. I’ll make a better video when I have time.

Kotlin Calculator:
https://github.com/BracketCove/KotlinMVPCalculator

Livestream on Sundays (8:00am PST)
http://www.youtube.com/c/wiseAss/live

Patreon: https://www.patreon.com/bePatron?u=51…

Github: https://github.com/BracketCove

Facebook: https://www.facebook.com/wiseassblog/

G+: https://plus.google.com/+wiseass

Twitter: https://twitter.com/wiseass301

Blog: http://wiseassblog.com/

Channel: wiseAss
Published: 2018-02-13 17:34:47
Duration: 29M55S
Views: 358
Likes: 23
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *