android.content.res.resources$notfoundexception string resource id #0x0 -


i getting error when m trying list of data table calling constructor class, main file

account.java

            try{                 list<personalinformation> temp = helper.findall();                 toast.maketext(getapplicationcontext(), temp.size(), toast.length_long).show();                 }                 catch (exception e) {                     toast.maketext(getapplicationcontext(), e+"", toast.length_long).show();                  } 

change

toast.maketext(getapplicationcontext(), temp.size(), toast.length_long).show(); 

to

toast.maketext(getapplicationcontext(), string.valueof(temp.size()), toast.length_long).show(); 

Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -