Skip to content

Added the algorithm and thread colors dictionary#17

Open
mrGnost wants to merge 2 commits intovk-education:masterfrom
mrGnost:master
Open

Added the algorithm and thread colors dictionary#17
mrGnost wants to merge 2 commits intovk-education:masterfrom
mrGnost:master

Conversation

@mrGnost
Copy link
Collaborator

@mrGnost mrGnost commented May 4, 2021

No description provided.

@mrGnost mrGnost requested a review from 0xera as a code owner May 4, 2021 14:02
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// Reading thread colors dictionary from resources.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

лучше запускать отдельное корутине/потоке

import kotlin.math.min
import kotlin.math.pow

class PixelizationAlgorithm {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

class PixelizationAlgorithm {
    companion object {
object PixelizationAlgorithm {
} ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants