I\'ve got two classes right now: RemindersDAO.java and ViewLocalReminders.java.
I\'m trying to get access to a variable that\'s in ViewLocalReminders.java and I\'m tryin
here:
public void setReminderID(long id) {
id = reminderID; //<-- wrong, should be the other way around
System.out.println("Reminder ID Value in Setter: " + reminderID);
}
You should use reminderID = id instead
Also:
public void onCreate(Bundle SavedInstance) {
reminderID = 16; //one of these two lines..
setReminderID(reminderID); //..should do it
}
No need to set the reminderId twice