项目结构:
- 📁libs
- 📁res
- 📁src/com/yiqivr/calendarselector
- 📝.classpath
- 📝.gitignore
- 📝.project
- 📝AndroidManifest.xml
- 📝README.md
- 📝ant.properties
- 📝build.xml
- 📝device.png
- 📝ic_launcher-web.png
- 📝proguard-project.txt
- 📝project.properties
CalendarSelector
- 📁libs
- 📁res
- 📁src/com/yiqivr/calendarselector
- 📝.classpath
- 📝.gitignore
- 📝.project
- 📝AndroidManifest.xml
- 📝README.md
- 📝ant.properties
- 📝build.xml
- 📝device.png
- 📝ic_launcher-web.png
- 📝proguard-project.txt
- 📝project.properties
CalendarSelector
===
仿淘宝预订日历
功能描述:
根据从今天起的可选择天数跳转到日历选择列表页面,选择好预订日后在onActivityResult方法中得到年月日(格式为“年#月#日”)。
使用:
1 第一步跳转日历列表选择器
2 第二步在onActivityResult方法中接收返回数据
3 如果需要转换为Calendar
// 错误转换方法(因为2月没有30天):
c.set(Integer.valueOf(info[0]), Integer.valueOf(info[1]), Integer.valueOf(info[2]));
c.add(Calendar.MONTH, -1);
下载地址:微信扫一扫,关注下方【毕业设计组织】公众号,请回复数字”6836“获取下载链接
