GithubHelp home page GithubHelp logo

splyzateamtest's Introduction

SplyzaTeams - Android Recruit Test

  • Project is created on Android Studio Chipmunk 2021.2.1 Patch 2
  • Kotlin version - 1.7.0
  • Current minimal supported sdk version - 21 (Android 5.0)
  • MVVM Architecture
  • Hilt for Dependency Injection
  • Kotlin Co-routines for all the asynchronous tasks
  • ViewModel, LiveData, etc. from Jetpack components
  • Automated UI testing using Espresso

This project is based on MVVM + Repository Architecture

  • Data Layer : This layer will contain all data repositories, models and network logic
  • View Model : This will contain all the business logic only.
  • View : This will contain all the UI logic (All android context related things will be done here)
    This will contain Activities, Fragments, drawables, layouts, styles, strings etc.
  • DI : All dependency injection related logic will go here.

Naming conventions to be followed

For Activities:

Kotlin files : {usage}Activity For Example : HomeActivity
Layout Files : activity_{usage} For Example: activity_home

For Fragments:

Kotlin files : {usage}Fragment For Example : HomeFragment
Layout Files : fragment_{usage} For Example: fragment_home

For RecyclerView Items

Layout Files: item_{usage} For Example: item_home

For Common Layout files

For layout files to be included in other layouts
Layout Files: include_{usage} For Example: include_home_header

For Variables

Camel Notations will be used.
For Example isUserLoggedIn

For Layout IDs

Camel Notations will be used
Reason: Since we are using ViewBinding, it is easier to search for that id being used in the project.

File Names :
TextViews : tv{unique identifier(filename)}{usage} For Example tvCurrentMembers
EditTexts : et{unique identifier(filename)}{usage} For Example etLoginPassword<br /> RelativeLayoout : rl{unique identifier(filename)}{usage} For ExamplerlPermLevels`

Note:Make sure each view has unique id in whole project.

For Constants

Upper case with underscore will be followed. For example : MIN_PASSWORD_LENGTH

splyzateamtest's People

Contributors

guneetatwal avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.