Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

cannot apply java lang integer android

val a = result.text.toString()
 val b = resultHist1.text.toString()

 if(!a.isNullOrEmpty() &&  !b.isNullOrEmpty() ){
    val a = a.toInt()
    val b = b.toInt()
    calcHist1.text = (a+b).toString()
   }
   else
   {
   calcHist1.text = ""
   }
Comment

PREVIOUS NEXT
Code Example
Java :: recycler view event being raised multiple times 
Java :: Add an element at a specified position in an ArrayList 
Java :: naming convention for selenium java automation 
Java :: array remove duplicate in java 
Java :: final variables in java 
Java :: hashmap declare and initialize with values in 1 line java 
Java :: java package 
Java :: java optional parameters 
Java :: how to use a switch statement in java 
Java :: swapping techniques using java 
Java :: class syntax in java 
Java :: check if string is decimal java 
Java :: java remove map key 
Java :: how to set default color in android studio 
Java :: search in 2d matrix 
Java :: java.lang.ClassNotFoundException: org.postgresql.Driver 
Java :: how to create a derived class in Java 
Java :: java font bold italic 
Java :: android cella 20*20 java 
Java :: java.lang.NoClassDefFoundError: net/sf/cb2xml/def/IItem 
Sql :: postgres get size of database 
Sql :: postgresql create table default value timestamp 
Sql :: postgres get all tables in schema 
Sql :: finding last created table mysql 
Sql :: commentaire table oracle 
Sql :: how to restart mysql in linux 
Sql :: how to change potgress password 
Sql :: find mysql version linux 
Sql :: sql last row in table 
Sql :: sql auto update dupdated_at 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =