GithubHelp home page GithubHelp logo

Comments (5)

MagicMashRoom avatar MagicMashRoom commented on July 4, 2024

关于第一个问题 你使用CalendarAdapter的getSeedDate方法得到日期 然后通过java.calendar的api计算就好了

from supercalendar.

MagicMashRoom avatar MagicMashRoom commented on July 4, 2024

关于第二个问题 你新建一个日期实例 这个日期是你选择的那一年的那一周的某一天 然后 在使用CalendarAdapter.notifyDataChange方法就直接跳转过去了

from supercalendar.

MagicMashRoom avatar MagicMashRoom commented on July 4, 2024

关于第一个问题描述有错误 你可以通过CalendarAdapter.getItem.get(currentPosition).getSeedDate得到一个日期对象 然后再调用calendar的api

from supercalendar.

MagicMashRoom avatar MagicMashRoom commented on July 4, 2024

好吧 我周末给你开放出相关的api 让你直接通过monthpager的实例直接得到当前显示的日期 你可以通过日期在计算出是第几周

from supercalendar.

MagicMashRoom avatar MagicMashRoom commented on July 4, 2024

跳转到指定周我不会再给你开放api了 notifydatachange方法已经可以了 至于你怎么设计这个选择器 是你的事了 加油

from supercalendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.