Skip to content

Instantly share code, notes, and snippets.

View MohamedWael's full-sized avatar
:octocat:
Coding...

Mohamed Wael MohamedWael

:octocat:
Coding...
View GitHub Profile
Mohamed Wael Abdelsattar
Cairo, Egypt | +201063603530 | IMohamedWael@Outlook.com
GitHub: github.com/MohamedWael | LinkedIn: linkedin.com/in/mohamedwael Military Service: Completed | 1 / 12 / 2016
Education
B.S. in Computer Science | 2011 – 2015 | Faculty of computers and information sciences, Mansoura University | Very Good with Honors · Major: Software Engineering
Experience
Senior Android Engineer | WeightWatchers | July 2021 – Present
· Working with the IAP(In-App Purchase) team to maintain and update the sign-up and login experience in the WW app, created the new account management module which handles all the stuff related to user account management ranging from updating the user data, switching plans, and resetting user password until the deletion of the account, refactored a lot of screens to use the Mavericks architecture (An MVI based architecture by Airbnb), and updated their UI to jetpack Compose with ADA supported, as well as handling the app's in- app purchase process.
Senior Android Engineer | A
@MohamedWael
MohamedWael / GenericExtensions.kt
Created November 6, 2020 21:23
Generic Kotlin extensions to change the if else style to functional style
fun onAllNotNull(vararg any: Any?, doAction: () -> Unit) {
if (any.count { it == null } == 0) {
doAction()
}
}
fun <T, Y> T.doIfElseDo(predicate: Boolean, action: () -> Y, elseAction: (() -> Y)? = null): Y? {
return this?.let {
if (predicate) {
action()
publishing {
publications {
library(MavenPublication) {
setGroupId(GROUPID)
setArtifactId(ARTIFACTID)
version VERSION
artifact(bundleRelease)
pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
{
"athletes":[
{
"name":"Michael Jordan",
"image":"http://i.imgur.com/xNLMcVJ.jpg",
"brief":"Michael Jordan (MJ) is considered the greatest basketball player of all time. He was voted NBA most valuable player a record five times. Playing most of his career for the Chicago Bulls, he won six NBA Championships. Michael Jordan also became one of the most marketed sportsmen, with lucrative endorsements with Nike, helping to make the Nike Air shoe one of best known trainers in the world. His career and high profile, coincided with a rapid growth in the popularity of NBA basketball, and his personal achievements are considered a major factor in boosting the popularity of basketball."
},
{
"name":"Pele",
"image":"http://i.imgur.com/7f0noFX.jpg",