Passing A Long Value From One Intent To Another
I am trying to pass a long value from intent of one class to another. But Somehow I dont seem to get the syntax or method to do so. This would solve 90% of my problem. Passing it f
Solution 1:
You have passed your intents correctly, now in the receiving activity to get the intent you could use bundles,
Bundle extras = getIntent().getExtras();
if (extras != null) {
long getid = extras.getString('KEY',default_value);
}
Post a Comment for "Passing A Long Value From One Intent To Another"