We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
代码: private void initMyData() {
//init data final List<Schedule> mData = new ArrayList<>(); for (int i = 0; i < 3; i++) { Schedule schedule = new Schedule(); schedule.setTitle("new test" + i); schedule.setState(0); schedule.setTime(mTime); schedule.setYear(mCurrentSelectYear); schedule.setMonth(mCurrentSelectMonth); schedule.setDay(mCurrentSelectDay); mData.add(schedule); } for (int i = 0; i < mData.size(); i++) { addMySchedule(mData.get(i)); } } private void addMySchedule(Schedule schedule) { new AddScheduleTask(mActivity, new OnTaskFinishedListener<Schedule>() { @Override public void onTaskFinished(Schedule data) { if (data != null) { mScheduleAdapter.insertItem(data); rLNoTask.setVisibility(View.GONE); mTime = 0; updateTaskHintUi(mScheduleAdapter.getItemCount() - 2); } } }, schedule).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); }
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: