生のフォルダーに保存された引用符の配列があり、次のボタンがあります。最初の引用は今日の日付で表示されますが、次のボタンをクリックすると、次の行の引用が表示されますが、同じ日付で表示されます。次の見積もりなどを表示するには、翌日の日付を取得する必要があります..どうすればよいですか?
//calender code
mdate = (TextView) findViewById(R.id.datetext);
final Calendar c = Calendar.getInstance();
yy = c.get(Calendar.YEAR);
mm = c.get(Calendar.MONTH);
dd = c.get(Calendar.DAY_OF_MONTH);
// set current date into textview
mdate.setText(new StringBuilder()
// Month is 0 based, just add 1
.append(dd).append(" ").append("-").append(mm + 1).append("-")
.append(yy));
これで私を助けてください。どうもありがとう