Senior Mobile Developer
MobilePosted 7 weeks agovia Himalayas, a remote job board
- Work type
- RemoteOpen worldwide
- Experience
- Not stated
- Pay
- Not listed
- Posted
- 7 weeks ago
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
Role Title: Senior Mobile Software Engineer
Role Type: Contractor (~15 hrs a week)
Location: Remote
In this role, you'll apply your expertise to help train next-generation AI systems. Your work will shape how models learn, reason, and perform through high-quality, real-world input.
As an expert, you will create Reinforcement Learning Environments that test an AI model’s ability to solve complex mobile software engineering problems related to fixing code, creating features, refactoring code, and optimizing performance. You will be tasked with creating a reproducible environment and a golden reference solution for each problem.
Scope of Work
- Create realistic, interesting, and extremely challenging mobile coding tasks for frontier AI models using your preferred repositories.
- Design problems that require strong mobile engineering skills, such as tracking down subtle bugs, building non-trivial features, handling application state and lifecycle, or improving performance.
- Develop tasks relevant to your expertise: cross-platform applications using TypeScript, JavaScript, or Dart; iOS applications using Swift; or Android applications using Kotlin.
- For each task, define the problem, build a reproducible environment, and write deterministic verifiers that accept correct solutions across different valid implementations while rejecting incorrect, incomplete, or hard-coded approaches.
- Provide a reference solution showing how the task can be solved.
Preferred Qualifications
- Significant hands-on expertise in at least one of the following mobile development tracks:
- Cross-platform: TypeScript or JavaScript with React Native, or Dart with Flutter.
- iOS: Swift with SwiftUI or UIKit.
- Android: Kotlin with Jetpack Compose or the Android View system.
- Deep understanding of mobile application architecture, state management, asynchronous programming, and application lifecycle.
- Proven ability to debug complex mobile applications, resolve bugs, and deliver effective performance improvements.
Compensation Structure
Compensation is output-based; experts are paid per task that meets the project specifications. The time required to complete work may vary depending on the expert’s experience and workflow. Minimum weekly submission requirements apply and will be communicated during onboarding.
Start Timeline & Availability
- We typically fill roles within 48 hours and are looking for experts ready to jump in right away. If selected, we expect you to start your first tasks within 24–48 hours of completing onboarding.
Originally posted on Himalayas
Interested?Senior Mobile Developer at micro1
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Android, TypeScript, JavaScript and 6 more
Interview questions for this job
For the skills the ad mentions: Android, TypeScript, JavaScript, iOS, Swift, Kotlin, React Native, Flutter and SwiftUI.
Why doesn't RecyclerView have onItemClickListener()?Android
tl;dr 2016 Use RxJava and a PublishSubject to expose an Observable for the clicks.
public class ReactiveAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { String[] mDataset = { "Data", "In", "Adapter" }; private final PublishSubject<String> onClickSubject = PublishSubject.create(); @Override public void onBindViewHolder(final ViewHolder holder, int position) { final String element = mDataset[position]; holder.itemView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { onClickSubject.onNext(element); } }); } public Observable<String> getPositionClicks(){ return onClickSubject.asObservable(); } }Original Post:
Since the introduction of
ListView,onItemClickListenerhas been problematic. The moment you have a click listener for any of the internal elements the callback would not be triggered but it wasn't notified or well documented (if at all) so there was a lot of confusion and SO questions about it.Given that
RecyclerViewtakes it a step further and doesn't have a concept of a row/column, but rather an arbitrarily laid out amount of children, they have delegated the onClick to each one of them, or to programmer implementation.Think of
Recyclerviewnot as aListView1:1 replacement but rather as a more flexible component for complex use cases. And as you say, your solution is what google expected of you. Now you have an adapter who can delegate onClick to an interface passed on the constructor, which is the correct pattern for bothListViewandRecyclerview.public static class ViewHolder extends RecyclerView.ViewHolder implements OnClickListener { public TextView txtViewTitle; public ImageView imgViewIcon; public IMyViewHolderClicks mListener; public ViewHolder(View itemLayoutView, IMyViewHolderClicks listener) { super(itemLayoutView); mListener = listener; txtViewTitle = (TextView) itemLayoutView.findViewById(R.id.item_title); imgViewIcon = (ImageView) itemLayoutView.findViewById(R.id.item_icon); imgViewIcon.setOnClickListener(this); itemLayoutView.setOnClickListener(this); } @Override public void onClick(View v) { if (v instanceof ImageView){ mListener.onTomato((ImageView)v); } else { mListener.onPotato(v); } } public static interface IMyViewHolderClicks { public void onPotato(View caller); public void onTomato(ImageView callerImage); } }and then on your adapter
public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { String[] mDataset = { "Data" }; @Override public MyAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.my_layout, parent, false); MyAdapter.ViewHolder vh = new ViewHolder(v, new MyAdapter.ViewHolder.IMyViewHolderClicks() { public void onPotato(View caller) { Log.d("VEGETABLES", "Poh-tah-tos"); }; public void onTomato(ImageView callerImage) { Log.d("VEGETABLES", "To-m8-tohs"); } }); return vh; } // Replace the contents of a view (invoked by the layout manager) @Override public void onBindViewHolder(ViewHolder holder, int position) { // Get element from your dataset at this position // Replace the contents of the view with that element // Clear the ones that won't be used holder.txtViewTitle.setText(mDataset[position]); } // Return the size of your dataset (invoked by the layout manager) @Override public int getItemCount() { return mDataset.length; } ...Read the rest at the sourceFrom Stack Overflow: asked by T_V, answered by MLProgrammer-CiM (CC BY-SA 3.0)
What is the difference between types String and string?TypeScript
Here is an example that shows the differences, which will help with the explanation.
var s1 = new String("Avoid newing things where possible"); var s2 = "A string, in TypeScript of type 'string'"; var s3: string;Stringis the JavaScript String type, which you could use to create new strings. Nobody does this as in JavaScript the literals are considered better, sos2in the example above creates a new string without the use of thenewkeyword and without explicitly using theStringobject.stringis the TypeScript string type, which you can use to type variables, parameters and return values.Additional notes...
Currently (Feb 2013) Both
s1ands2are valid JavaScript.s3is valid TypeScript.Use of
String. You probably never need to use it, string literals are universally accepted as being the correct way to initialise a string. In JavaScript, it is also considered better to use object literals and array literals too:var arr = []; // not var arr = new Array(); var obj = {}; // not var obj = new Object();If you really had a penchant for the string, you could use it in TypeScript in one of two ways...
var str: String = new String("Hello world"); // Uses the JavaScript String object var str: string = String("Hello World"); // Uses the TypeScript string typeFrom Stack Overflow: asked by Paul0515, answered by Fenton (CC BY-SA 3.0)
What does "use strict" do in JavaScript, and what is the reasoning behind it?JavaScript
Update for ES6 modules
Inside native ECMAScript modules (with
importandexportstatements) and ES6 classes, strict mode is always enabled and cannot be disabled.Original answer
This article about Javascript Strict Mode might interest you: John Resig - ECMAScript 5 Strict Mode, JSON, and More
To quote some interesting parts:
Strict Mode is a new feature in ECMAScript 5 that allows you to place a program, or a function, in a "strict" operating context. This strict context prevents certain actions from being taken and throws more exceptions.
And:
Strict mode helps out in a couple ways:
- It catches some common coding bloopers, throwing exceptions.
- It prevents, or throws errors, when relatively "unsafe" actions are taken (such as gaining access to the global object).
- It disables features that are confusing or poorly thought out.
Also note you can apply "strict mode" to the whole file... Or you can use it only for a specific function (still quoting from John Resig's article):
// Non-strict code... (function(){ "use strict"; // Define your library strictly... })(); // Non-strict code...Which might be helpful if you have to mix old and new code ;-)
So, I suppose it's a bit like the
"use strict"you can use in Perl (hence the name?): it helps you make fewer errors, by detecting more things that could lead to breakages.Strict mode is now supported by all major browsers.
From Stack Overflow: asked by Mark Rogers, answered by Pascal MARTIN (CC BY-SA 4.0)
What does the NS prefix mean?iOS
It's from the NeXTSTEP heritage.
From Stack Overflow: asked by Martin08, answered by Olaf Kock (CC BY-SA 3.0)
What does an exclamation mark mean in the Swift language?Swift
What does it mean to "unwrap the instance"? Why is it necessary?
As far as I can work out (this is very new to me, too)...
The term "wrapped" implies we should think of an Optional variable as a present, wrapped in shiny paper, which might (sadly!) be empty.
When "wrapped", the value of an Optional variable is an enum with two possible values (a little like a Boolean). This enum describes whether the variable holds a value (
Some(T)), or not (None).If there is a value, this can be obtained by "unwrapping" the variable (obtaining the
TfromSome(T)).How is
john!.apartment = number73different fromjohn.apartment = number73? (Paraphrased)If you write the name of an Optional variable (eg text
john, without the!), this refers to the "wrapped" enum (Some/None), not the value itself (T). Sojohnisn't an instance ofPerson, and it doesn't have anapartmentmember:john.apartment // 'Person?' does not have a member named 'apartment'The actual
Personvalue can be unwrapped in various ways:- "forced unwrapping":
john!(gives thePersonvalue if it exists, runtime error if it is nil) - "optional binding":
if let p = john { println(p) }(executes theprintlnif the value exists) - "optional chaining":
john?.learnAboutSwift()(executes this made-up method if the value exists)
I guess you choose one of these ways to unwrap, depending upon what should happen in the nil case, and how likely that is. This language design forces the nil case to be handled explicitly, which I suppose improves safety over Obj-C (where it is easy to forget to handle the nil case).
Update:
The exclamation mark is also used in the syntax for declaring "Implicitly Unwrapped Optionals".
In the examples so far, the
johnvariable has been declared asvar john:Person?, and it is an Optional. If you want the actual value of that variable, you must unwrap it, using one of the three methods above.If it were declared as
var john:Person!instead, the variable would be an Implicitly Unwrapped Optional (see the section with this heading in Apple's book). There is no need to unwrap this kind of variable when accessing the value, andjohncan be used without additional syntax. But Apple's book says:Implicitly unwrapped optionals should not be used when there is a possibility of a variable becoming nil at a later point. Always use a normal optional type if you need to check for a nil value during the lifetime of a variable.
Update 2:
The article "Interesting Swift Features" by Mike Ash gives some motivation for optional types. I think it is great, clear writing.
Update 3:
Another useful article about the implicitly unwrapped optional use for the exclamation mark: "Swift and the Last Mile" by Chris Adamson. The article explains that this is a pragmatic measure by Apple used to declare the types used by their Objective-C frameworks which might contain nil. Declaring a type as optional (using
?) or implicitly unwrapped (using!) is "a tradeoff between safety and convenience". In the examples given in the article, Apple have chosen to declare the types as implicitly unwrapped, making the calling code more convenient, but less safe.Perhaps Apple might comb through their frameworks in the future, removing the uncertainty of implicitly unwrapped ("probably never nil") parameters and replacing them with optional ("certainly could be nil in particular [hopefully, documented!] circumstances") or standard non-optional ("is never nil") declarations, based on the exact behaviour of their Objective-C code.
From Stack Overflow: asked by Troy, answered by Ashley (CC BY-SA 3.0)
- "forced unwrapping":
Have you ever failed at a task?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
