- Breaking change 1
- Added Feature Awesome 1
- Added Feature Awesome 2
### Validate a clipboard copied JSONArray. If the JSON is not an Array, this | |
### script put within to one. | |
### Usage | |
### 1. Copy a JSON string | |
### 2. Run this script ./putme_on_array.sh | |
### 3. If success, can happen | |
### 3.1 If JSON is a JSONObject, then the script will write a ~/json_array.json file with | |
### the result in your clipboard | |
### 3.2 Otherwise the script will print an error |
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.
Put an x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
import androidx.lifecycle.MutableLiveData | |
import androidx.lifecycle.Observer | |
import androidx.lifecycle.ViewModel | |
import androidx.lifecycle.viewModelScope | |
import kotlinx.coroutines.delay | |
import kotlinx.coroutines.flow.collect | |
import kotlinx.coroutines.flow.flow | |
import kotlinx.coroutines.launch | |
import kotlin.random.Random |
This document describes how modules must be structured.
Each module use Clean architecture aproach and contains at least 3 sub-packages. domain
, data
and presentation
.
Execute business logic which is independent of any layer
models
: Contains models annotated with Room annotations. These classes contains toPresentationModel()
which converts models to be usen in presentation
layer.Model.kt
package com.frogmi.feature.information.domain.models | |
import android.content.Context | |
import androidx.room.* | |
/** | |
* Entities | |
*/ | |
@Entity(tableName = "infos") |