Giter VIP home page Giter VIP logo

Comments (8)

SpongeBobSun avatar SpongeBobSun commented on August 23, 2024

@mBigFlower Could you help check this one ?

from mcalendarview.

mBigFlower avatar mBigFlower commented on August 23, 2024

@SpongeBobSun I have not done this for a long time , but you pull me into the river.
ok let me see.
In my impression, this widget is a little ugly...

from mcalendarview.

SpongeBobSun avatar SpongeBobSun commented on August 23, 2024

Anyway, just dig into it when you got time.
Thanks

Send from my phone

On Wed, Oct 12, 2016 at 1:46 PM +0800, "mBigMing" [email protected] wrote:

@SpongeBobSun I have not done this for a long time , but you pull me into the river.
ok let me see.
In my impression, this widget is a little ugly...

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#28 (comment)

from mcalendarview.

mBigFlower avatar mBigFlower commented on August 23, 2024

No problem,

from mcalendarview.

SpongeBobSun avatar SpongeBobSun commented on August 23, 2024

@ShooterArk Could you please paste some code? I'm little confused about your description...

Thanks

from mcalendarview.

ShooterArk avatar ShooterArk commented on August 23, 2024

expCalendarView.setOnDateClickListener(new OnExpDateClickListener()).setOnMonthScrollListener(new OnMonthScrollListener() {
@OverRide
public void onMonthChange(int year, int month) {
YearMonthTv.setText(getMonthName(month) + " " + year);
}

            @Override
            public void onMonthScroll(float positionOffset) {

            }
        });

        expCalendarView.setOnDateClickListener(new OnDateClickListener() {          
            @Override
            public void onDateClick(View view, DateData date) {
                _selectedDate = date.getYear() + "-" + date.getMonthString() + "-" + date.getDayString();   
                Toast.makeText(getActivity(), _selectedDate, Toast.LENGTH_SHORT).show();    
                tvSelectedDate.setText( date.getDayString() + "-" + getMonthName(Integer.parseInt(date.getMonthString())) + "-" + date.getYear());
                new BackgroundWorker().execute();
            }
        });

from mcalendarview.

ShooterArk avatar ShooterArk commented on August 23, 2024

@SpongeBobSun as you can see I need to utilize both the month scroll and date selection functionality. If I dont use the second listener the calendar shows dates that are marked, but if I use this second listener then the markDate functionality dont work at all.

Ps. Please ignore the code structure I am a naive developer. ;)

Thanks.

from mcalendarview.

SpongeBobSun avatar SpongeBobSun commented on August 23, 2024

I think you should call markDate manually in the second OnDateClickListener. Besides I just fixed a bug in markeDate which only see in the expcalendarview. So please pull the latest code and try again. If it's still happens feel free to reach me.

from mcalendarview.

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.