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();