Skip to content
#

vaibhav

Here are 361 public repositories matching this topic...

Queue is an abstract data structure, somewhat similar to Stacks. Unlike stacks, a queue is open at both its ends. One end is always used to insert data (enqueue) and the other is used to remove data (dequeue). Queue follows First-In-First-Out methodology, i.e., the data item stored first will be accessed first.

  • Updated Apr 4, 2022
  • Java

Hash Table is a data structure which stores data in an associative manner. In a hash table, data is stored in an array format, where each data value has its own unique index value. Access of data becomes very fast if we know the index of the desired data. Thus, it becomes a data structure in which insertion and search operations are very fast ir…

  • Updated Apr 12, 2022
  • Java

Primitive Integer data types - includes byte, short, int, long. The byte data type is an 8-bit signed two's complement integer. The short data type is a 16-bit signed two's complement integer. the int data type is a 32-bit signed two's complement integer. The long data type is a 64-bit two's complement integer.

  • Updated Jan 17, 2023
  • Java

Scanner is a class in java.util package used for obtaining the input of the primitive types like int, double, etc. and strings. It is the easiest way to read input in a Java program, though not very efficient if you want an input method for scenarios where time is a constraint like in competitive programming.

  • Updated Jan 17, 2023
  • Java

In Dagger 2, the Application class is often used to define and provide shared components across the application. The Application class acts as a global context for your Android application and is created before any other component or object in your app.

  • Updated Jun 26, 2023
  • Java

The ViewModelFactory is a class in the Android Architecture Components that is used to create instances of ViewModel classes. In Android, a ViewModel is used to store and manage data that is used in an activity or fragment, and survives configuration changes, such as screen rotation.

  • Updated May 24, 2021
  • Kotlin

WorkManager is the recommended solution for persistent work. Work is persistent when it remains scheduled through app restarts and system reboots. Because most background processing is best accomplished through persistent work, WorkManager is the primary recommended API for background processing.

  • Updated Jul 16, 2021
  • Java

Dagger 2 is one of dependency injection framework in Android that can provide us dependencies in a particular class. It’s probably the most used dependency injection framework in Android development. Singleton annotation can be put in other component and as long as the component alive the singleton annotated object will alive as well.

  • Updated Jul 29, 2021
  • Java

Dependency injection (DI) is a technique widely used in programming and well suited to Android development. By following the principles of DI, you lay the groundwork for good app architecture. Implementing dependency injection provides you with the following advantages: 1. Reusability of code 2. Ease of refactoring 3. Ease of testing

  • Updated Jul 24, 2021
  • Kotlin

Improve this page

Add a description, image, and links to the vaibhav topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the vaibhav topic, visit your repo's landing page and select "manage topics."

Learn more