package Ġcalc numeric o . ph . ma qu in ab in aria . Activities Ċ Ċ import Ġandroid . support . v 7 . app . AppCompatActivity Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . View Ċ import Ġcalc numeric o . ph . ma qu in ab in aria . Helpers . Bin Converter Ċ import Ġcalc numeric o . ph . m qu in ab in ria . R Ċ import Ġkotlinx . android . synt hetic . main . activity _ binary _ machine .* Ċ Ċ class ĠBinary Machine Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ binary _ machine ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġfun Ġconvert ( view : ĠView ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġvalor Bin ario Ġ= ĠBin Converter . converter ( et _ val . text . toString (). toDouble ()) ĊĠĠĠĠĠĠĠ Ġtext _ result . text Ġ= Ġvalor Bin ario ĊĠĠĠ Ġ} Ċ } Ċ