Mate Technologies1 open job

Android Developer (Contract)

MobilePosted 8 days agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
3+ years
Pay
₹0.0–0.0 LPA
Posted
8 days ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on Android, Java, Kotlin and 1 more

About the job

I am looking for an Android developer with 3 years’+ experience for my virtual setup company with remote / work from home culture. I need to hire on 3 months contract initially which can be extended further as per performance.

Job responsibilities are below

  • You will work as an individual Android developer and work single handed on each Android related task.
  • Understand requirements clearly, discuss any queries before starting the task
  • Design, build, and maintain high-performance, reusable, and reliable Android application.
  • Ensure the best possible performance, quality, and responsiveness of applications.
  • Identify and fix bugs and performance bottlenecks to maintain app stability.
  • Write and execute unit and UI tests to ensure app quality.
  • You must do testing before making submission of the task for any issues, bugs.
  • Implement new architecture, dependency injection and Jetpack components wherever required in project.
  • Follow deadlines carefully without compromising the quality

Note: Current project code is mostly written in JAVA. You must use Kotlin for new task/modules with MVVM architecture integrated partially and use JAVA for existing ready-made function

Quality:

  • Enthusiasm to work on thermal printing project
  • 3 years’+ Android development experience
  • Excellent Attention to details and problem-solving skills
  • Maintaining high quality achievable
  • Experience using Git for source control
  • Working experience with legacy code
  • Familiar with restful APIs, JSON, and third-party libraries, MVVM architecture, Jetpack components, and dependency injection tools.

About Company: We are on a mission to make the most seamless and efficient thermal printing experiences for small business owners. Our app (Thermer) has been downloaded by 50 lacks+ users around the world, has an average rating of 4.6 and it is available on both major app stores.

We embrace a virtual setup with a strong remote work culture, allowing our team members to collaborate effectively from anywhere in the world. We believe in fostering flexibility and work-life balance while delivering exceptional products and services. If you're passionate about developing mobile solutions that make a real-world impact, join our dynamic and forward-thinking team with ongoing learning & growth opportunity.

Website:

Salary: ₹400 – ₹1,500 / hour

Originally posted on Himalayas

Interested?Android Developer (Contract) at Mate Technologies

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on Android, Java, Kotlin and 1 more

Interview questions for this job

For the skills the ad mentions: Android, Java, Kotlin and REST APIs.

478 questions
  • What do you know about RecyclerView ItemDecoration?Android

    RecyclerView.ItemDecoration

    An ItemDecoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set. This can be useful for drawing dividers between items, highlights, visual grouping boundaries and more.

    All ItemDecorations are drawn in the order they were added, before the item views(in onDraw() and after the items (in onDrawOver(Canvas, RecyclerView, RecyclerView.State).

    Multiple ItemDecorations can be added to a single RecyclerView.

    A few examples of ItemDecoration:

    ItemDecoration for set top and bottom margins:

    import android.graphics.Rect
    import android.view.View
    import androidx.recyclerview.widget.RecyclerView
    class TopBottomMarginItemDecoration(
        private val topMargin: Int,
        private val bottomMargin: Int
    ) : RecyclerView.ItemDecoration() {
        override fun getItemOffsets(
            outRect: Rect,
            view: View,
            parent: RecyclerView,
            state: RecyclerView.State
        ) {
            with(outRect) {
                top = topMargin
                bottom = bottomMargin
            }
        }
    }
    

    ItemDecoration for set right and left margins:

    import android.graphics.Rect
    import android.view.View
    import androidx.recyclerview.widget.RecyclerView
    class EdgesMarginItemDecoration(private val edgesMargin: Int) : RecyclerView.ItemDecoration() {
        override fun getItemOffsets(
            outRect: Rect,
            view: View,
            parent: RecyclerView,
            state: RecyclerView.State
        ) {
            with(outRect) {
                val position = parent.getChildAdapterPosition(view)
                when (position) {
                    0 -> {
                        left = edgesMargin
                        right = edgesMargin / 2
                    }
                    parent.adapter!!.itemCount - 1 -> {
                        right = edgesMargin
                        left = edgesMargin / 2
                    }
                    else -> {
                        left = edgesMargin / 2
                        right = edgesMargin / 2
                    }
                }
            }
        }
    }
    

    Links

    RecyclerView.ItemDecoration

    From Android Interview Questions (Apache 2.0)

  • Explain: ArrayList vs LinkedListJava

    ArrayList vs LinkedList

    Internally, ArrayList is using an array to implement the List interface. As arrays are fixed size in Java, ArrayList creates an array with some initial capacity. Along the way, if we need to store more items than that default capacity, it will replace that array with a new and more spacious one. When more and more elements are added into an ArrayList, the capacity of the underlying array grows 50% of its size each time. Internally, a new array which is 1.5 times the size the original array is allocated, and the old array is copied to the new one.

    LinkedList, as its name suggests, uses a collection of linked nodes to store and retrieve elements. Each node maintains two pointers: one pointing to the next element and another referring to the previous one. LinkedList allows for constant-time insertions or removals using iterators. However, it allows only sequential access of elements.

    Comparing ArrayList and LinkedList

    Both ArrayList and LinkedList are similar to use. The main difference is their implementation that gives different performances in different operations. The major differences between the two are:

    • Random access of elements: ArrayList allows fast and random access of elements as it is essentially an array that works on index basis. Its elements can be directly accessed using the get and set methods. Whereas in LinkedList, finding an element’s position in the list takes time proportional to the size of the list. Any indexed operation requires a traversal.
    • Random insertion and deletion: As LinkedList uses doubly linked list, it takes constant time for insertions or removals as it does not require bit shifting in memory. On the other hand, adding or removing anywhere from an ArrayList except at the end requires shifting all the latter elements over, either to make an opening or fill to the gap.
    • Insertion and deletion from head: Inserting or deleting elements from the head is cheaper in LinkedList than ArrayList.
    • Queue functionality: ArrayList can act only as list but LinkedList can act both as list and queue as it implements the List and Deque interfaces.
    • Memory overhead: Memory overhead in LinkedList is more as compared to ArrayList as a node in LinkedList needs to maintain the addresses of next and previous nodes. Whereas an ArrayList doesn’t have this overhead as in an ArrayList each index only holds the actual object (data).
    • Size: An ArrayList take up as much memory as is allocated for the capacity, regardless of whether elements have actually been added or not. The default initial capacity of an ArrayList is pretty small. But since the underlying implementation is an array, the array must be resized if you add a lot of elements. To avoid the high cost of resizing, when you know you’re going to add a lot of elements, construct the ArrayList with a higher initial capacity.
    • Reverse iterator: LinkedList can be iterated in reverse direction using descendingIterator() while there is no descendingIterator() in ArrayList. For reverse iteration, you need to write your own implementation code.

    This table shows the time complexity comparisons between various ArrayList and LinkedList operations using Big O notation.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Explain: Scope functionsKotlin

    Scope functions

    The Kotlin standard library contains several functions whose sole purpose is to execute a block of code within the context of an object. When you call such a function on an object with a lambda expression provided, it forms a temporary scope. In this scope, you can access the object without its name. Such functions are called scope functions. There are five of them: let, run, with, apply, and also.

    Here's a typical usage of a scope function:

    Person("Alice", 20, "Amsterdam").let {
        println(it)
        it.moveTo("London")
        it.incrementAge()
        println(it)
    }
    

    The scope functions do not introduce any new technical capabilities, but they can make your code more concise and readable.

    Due to the similar nature of scope functions, choosing the right one for your case can be a bit tricky. The choice mainly depends on your intent and the consistency of use in your project.

    Distinctions

    Because the scope functions are all quite similar in nature, it's important to understand the differences between them. There are two main differences between each scope function:

    • The way to refer to the context object
    • The return value.

    Context object: this or it

    Inside the lambda of a scope function, the context object is available by a short reference instead of its actual name. Each scope function uses one of two ways to access the context object: as a lambda receiver (this) or as a lambda argument (it)

    fun main() {
        val str = "Hello"
        // this
        str.run {
            println("The receiver string length: $length")
            //println("The receiver string length: ${this.length}") // does the same
        }
        // it
        str.let {
            println("The receiver string's length is ${it.length}")
        }
    }
    

    this. run, with, and apply refer to the context object as a lambda receiver - by keyword this. Hence, in their lambdas, the object is available as it would be in ordinary class functions. In most cases, you can omit this when accessing the members of the receiver object, making the code shorter. On the other hand, if this is omitted, it can be hard to distinguish between the receiver members and external objects or functions. So, having the context object as a receiver (this) is recommended for lambdas that mainly operate on the object members: call its functions or assign properties.

    it.In turn, let and also have the context object as a lambda argument. If the argument name is not specified, the object is accessed by the implicit default name it. it is shorter than this and expressions with it are usually easier for reading. However, when calling the object functions or properties you don't have the object available implicitly like this. Hence, having the context object as it is better when the object is mostly used as an argument in function calls. it is also better if you use multiple variables in the code block.

    Return value

    The scope functions differ by the result they return:

    • apply and also return the context object.
    • let, run, and with return the lambda result.

    The return value of apply and also is the context object itself. Hence, they can be included into call chains as side steps: you can continue chaining function calls on the same object after them.

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • Many small requests vs. few large requests (API Design)REST APIs

    One thing to keep in mind is the expected network latency (i.e. ping time) between your clients and your server. In a high-latency situation with otherwise good bandwidth, many small requests will perform significantly worse than one large one.

    I've recently been collaborating on a multi-team database-backed web application project in which one of the teams is in India (the rest are in the US). We have a single database instance hosted in our US office to which developers connect our local webserver instances. My desk is maybe fifty feet and two LAN hops away from the database instance, and performance is fine.

    When we first got things started with the developers in India, they were experiencing enormous wait times starting up the application and navigating page-to-page. We're talking ten minute wait times here. It turns out that this was because the ~200ms ping time from their desks to our dev database server was getting multiplied by many, many brief queries to the database. My local 0.5ms ping was so trivial that the chattiness between webserver and database server never mattered. This was the first time that we had geographic separation between webserver and database server.

    The solution in our case was to clone the database server and stand the copy up in India, but the point here is to keep in mind that if your client and server are far apart, network latency will be multiplied by the number of communications across the wire. Bandwidth once the connection is established is typically much less of a concern.

    From Software Engineering Stack Exchange: asked by williamg, answered by JakeRobb (CC BY-SA 3.0)

  • What do you know about CompositionLocal?Android

    CompositionLocal

    Usually in Compose, data flows down through the UI tree as parameters to each composable function. This makes a composable’s dependencies explicit. This can however be cumbersome for data that is very frequently and widely used such as colors or type styles. See the following example:

    @Composable
    fun MyApp() {
        // Theme information tends to be defined near the root of the application
        val colors = colors()
    }
    // Some composable deep in the hierarchy
    @Composable
    fun SomeTextLabel(labelText: String) {
        Text(
            text = labelText,
            color = colors.onPrimary // ← need to access colors here
        )
    }
    

    To support not needing to pass the colors as an explicit parameter dependency to most composables, Compose offers CompositionLocal which allows you to create tree-scoped named objects that can be used as an implicit way to have data flow through the UI tree.

    CompositionLocal elements are usually provided with a value in a certain node of the UI tree. That value can be used by its composable descendants without declaring the CompositionLocal as a parameter in the composable function.1

    Example of usage of CompositionLocal:

    data class UserPreferences(val isDarkModeEnabled: Boolean, val fontSize: Float)
    // Define a dynamic Composition Local with default preferences
    val LocalUserPreferences = compositionLocalOf {
        UserPreferences(isDarkModeEnabled = false, fontSize = 14f)
    }
    @Composable
    fun PreferencesProvider(content: @Composable () -> Unit) {
        var isDarkMode by remember { mutableStateOf(false) }
        val preferences = UserPreferences(isDarkMode, 16f)
        CompositionLocalProvider(LocalUserPreferences provides preferences) {
            content()
        }
    }
    @Composable
    fun SettingsScreen() {
        val preferences = LocalUserPreferences.current
        Text("Dark Mode: ${if (preferences.isDarkModeEnabled) "Enabled" else "Disabled"}")
    }
    

    Explanation:

    • Definition. The UserPreferences data class holds dynamic user settings;
    • Provision. The PreferencesProvider dynamically updates and provides the preferences based on the user's actions;
    • Consumption. The SettingsScreen consumes and displays the preferences, updating reactively when changes occur.2

    Read the rest at the sourceFrom Android Interview Questions (Apache 2.0)

  • What is the STAR method, and how do you use it to answer?Behavioural

    Use the STAR method to prepare for interviews and to show your skills and experience on a CV or application form.

    What STAR stands for

    • Situation - the situation you had to deal with
    • Task - the task you were given to do
    • Action - the action you took
    • Result - what happened as a result of your action and what you learned from the experience

    When to use STAR

    You can use the STAR method in your:

    How to use STAR

    You can use the STAR method to structure the examples you give to questions, especially in interviews.

    A job description lists the skills and qualities the employer is looking for. You can use the STAR method to show how you meet these. 

    It can help to look at common interview questions when preparing.

    When using STAR, remember to:

    • use examples that work for you - these could be from work, home or volunteering
    • keep examples short and to the point
    • try to get your points across in a conversational way so as not to appear too rehearsed
    • be prepared to answer follow-up questions about the examples you give

    Example 1 - leadership skills

    Tell me about a time when you have shown leadership skills.

    Situation - in my previous digital marketing job, the company wanted to get more people to sign up to a newsletter which was not receiving a lot of attention.

    Task - my job was to find a way of getting more people to sign up.

    Action - I organised a meeting with other members of the marketing team to come up with creative ideas, and I led the social media campaign to generate interest in the revamped newsletter.

    Result - over a period of 3 months, there was an 25% increase in sign-ups to the newsletter and the approach I took was used by the management team in other departments.

    Example 2 - teamwork

    Tell me about a time you have worked as part of a team?

    Situation - when I was at school, I was part of the netball team. We needed to raise funds to buy more equipment for the team.

    Task - my job was to work with the rest of the team to set up a bake sale to raise money.

    Action - I took the lead and found out who wanted to help with the bake sale. I then held a meeting so we could work out dates and what tasks each person would do. I made sure that we were all clear what our role was and everyone who wanted to, got a chance to get involved.

    Result - the bake sale was a success due to the team all pulling together. We raised £200 and were able to buy new equipment for the netball team.

    Example 3 - problem solving

    Give me an example of when you faced a problem at work. How did you handle it?

    Read the rest at the sourceFrom National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Mobile developer jobs in India (165) and Remote Mobile developer jobs in India (94)