Getter and Setters not working?

后端 未结 9 2222
悲&欢浪女
悲&欢浪女 2021-01-27 02:12

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

9条回答
  •  渐次进展
    2021-01-27 02:32

    Thanks for all your help you guys. I wasn't able to figure out why my getters and setters weren't working, even though I followed all of your guys' suggestions. I'm guessing it has something to do with the fact that reminderID is taken in as an argument of a constructor. Either way, I solved my problem by using Android's Bundle and transferring my variables from one activity to another through that.

    Again, thanks for all your help! :)

提交回复
热议问题