🤖
Android Tips
  • 🤖AOSP
    • Clone AOSP repository
    • Directory Structure
    • Setup IDE
      • Setup VSCode
    • Build
      • BluePrint for Application Project
      • BluePrint for Android Library Project
    • Manifest
      • sharedUserId
      • persistant
  • Gradle
    • Create Custom Build Config Variables
    • Create Custom manifest Variables
    • Make app debugable
  • Android Process
    • Find a process by name
    • Kill a process by Id
  • Catch any exception in Android
  • 🎨Theming
    • Theming
      • RRO
        • RRO Internals
        • RRO classes in AOSP
        • RRO Example
        • RRO Permission
      • Fabricated RRO (FRRO)
        • FRRO Example
        • Permission
  • Lifecycle
    • Basics
      • Lifecycle
        • Activity
        • Fragment
          • Fragment add
    • Lifecycle Aware Custom Class
  • ℹ️Interview
    • Interview Questions
    • Architecture Pattern
      • MVC Architecture pattern
      • MVP Architecture Pattern
      • MVVM Architecture Pattern
  • ↔️AIDL
    • Simple AIDL Communication
      • Creating an AIDL file
      • Create an AIDL server
      • Create AIDL client
      • Limitations
    • AIDL with callback
      • Create AILD interfaces
      • Create an AIDL server
      • Create AIDL client
Powered by GitBook
On this page
  1. Interview

Interview Questions

PreviousLifecycle Aware Custom ClassNextArchitecture Pattern

Last updated 10 months ago

Interview

Automotive:

  • Android Boot Sequence:

  • Platform Architecture:

  • AIDL

  • media App Architecture ->

  • Persistant App

  • Android.bp

Android

  • Launch Modes -> Default, SingleTop, SingleTask, SingleInstance

  • Parcellable/Serealizable

  • Activity Lifecycle

  • Fragment Lifecycle

  • Implicit/Explicit Intent

  • Threads, Looper, handler, handler thread

  • 9-Patch Image

Java

  • OOPS:

    • Inheritance

    • Polymorphism

    • Abstraction

    • Encapsulation

  • Solid Principals

  • Design Patterns -> Creational, Behavioural, Structural

    • Creational: Singleton, Builder, Factory, Abstract Factory

    • Behavioural: Chain Of resp, Observer

    • Structural: Proxy, Adapter, Facade, Decorator

  • Architecture Patterns -> MVC, MVP, MVVM (android)

  • Memory Leak

Kotlin

  • inline functions

  • Scope function

  • infix functions

  • Coroutine

    • Scope

    • Dispatcher

    • Job

    • CoroutineExceptionHandler

Problem

  • Write a function that accepts a list of integers and returns the two numbers that add up to a target value. For example, given the list [1, 2, 3, 4, 5] and a target value of 6, your function should return the tuple (1, 5) or (2, 4).

Fragment .add() vs .replace() ->

ℹ️
Link
Link