typewriter

Application get freeze whete set double value to edit text using typewriter for 2 edit text

痞子三分冷 提交于 2019-12-11 15:00:49
问题 I am developeing app where i want to change the currency value from one to another, Like i have 2 edittext. one for USD Currency to enter and other for EURO currency to enter. Now i want to enter value in 1 edittext and the calculated value should display in other and same for the other edit text box. TextWatcher inputTextWatcher = new TextWatcher() { public void afterTextChanged(Editable s) { try { Start_Calculate(""+s.toString()); } catch (NumberFormatException nfe) { //or whatever

TypeWriter - Filter classes or properties without a given attribute

試著忘記壹切 提交于 2019-12-11 07:29:29
问题 Using a Typewriter .tst file it is possible to only include Properties with a certain attribute using a $Properties([MyAttr]) filter. Like this for example: export class $Name{ $Properties([MyAttr])[ public $name: $Type = $Type[$Default];] } Is it possible to include all properties except those with the given attribute? Something like this maybe: export class $Name{ $Properties(![TsIgnore])[ //but this doesnt work!! public $name: $Type = $Type[$Default];] } I've tried what I can think of !