Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/**
* This method displays the given text on the screen.
*/
private void displayMessage(String message) {
TextView priceTextView = (TextView) findViewById(R.id.price_text_view);
priceTextView.setText(message);
}
@Daz46

This comment has been minimized.

Copy link

commented Apr 13, 2016

Thank's

@OneSir

This comment has been minimized.

Copy link

commented Apr 16, 2016

请问PS2的导师笔记在哪里可以看?

@FullMoonBro

This comment has been minimized.

Copy link

commented May 19, 2016

wow thanks for help us anonymous

@otkrivashkin

This comment has been minimized.

Copy link

commented May 31, 2016

Дякую)

@abdullahhoosen

This comment has been minimized.

Copy link

commented Jun 25, 2016

Thanks for the free coffee Kath!

@clayzeballos

This comment has been minimized.

Copy link

commented Jul 9, 2016

Anonymous is the best guy... or girl! :/

@nixoncode

This comment has been minimized.

Copy link

commented Jul 9, 2016

On It!

@tian-chaiyaporn

This comment has been minimized.

Copy link

commented Jul 30, 2016

Cheers Anonymous

@Andr11

This comment has been minimized.

Copy link

commented Sep 29, 2016

Спасибо!

@nevagiveup

This comment has been minimized.

Copy link

commented Oct 24, 2016

Thank You!

@SiAce

This comment has been minimized.

Copy link

commented Oct 30, 2016

amazing course!

@sanjaysan7

This comment has been minimized.

Copy link

commented Nov 8, 2016

Thank you .

@ShengSunEVI

This comment has been minimized.

Copy link

commented Nov 17, 2016

Oh No!!!!!!!, Youtube has deactivated Catherine's account!!!!! Tutorials no longer available!!!!!!!!!!

@joaquinsnake

This comment has been minimized.

Copy link

commented Dec 4, 2016

Thank you guys for everything!

@mohamedx1977

This comment has been minimized.

Copy link

commented Dec 18, 2016

شكراً جزيلاً
Thanks Lot

@fnowshad

This comment has been minimized.

Copy link

commented Dec 19, 2016

Happy Christmas!!!
Wow! we deserve this free on this special day coming soon. Free, Free, Free.
Thanks for nice and effective delivering.

@borisvillanueva

This comment has been minimized.

Copy link

commented Dec 27, 2016

Excellent Course and Delivery I am learning a lot!! Thanks and Happy Holidays!!

@MKalita007

This comment has been minimized.

Copy link

commented Jan 9, 2017

Thanks a lot

@fragargon

This comment has been minimized.

Copy link

commented Jan 21, 2017

thanks you

@PelmusMarian

This comment has been minimized.

Copy link

commented Jan 28, 2017

thanks ! :D

@Arissp

This comment has been minimized.

Copy link

commented Feb 1, 2017

Nice Code!

@ghost

This comment has been minimized.

Copy link

commented Feb 6, 2017

Cool 8-)

@ghost

This comment has been minimized.

Copy link

commented Feb 26, 2017

Thank you 👍

@yiantzi

This comment has been minimized.

Copy link

commented Mar 1, 2017

👍

@madzik151

This comment has been minimized.

Copy link

commented Mar 2, 2017

No description provided.

@PedroP1res

This comment has been minimized.

Copy link

commented Mar 2, 2017

Thank you =)

@jcunanan05

This comment has been minimized.

Copy link

commented Mar 3, 2017

yay!

@jffarias

This comment has been minimized.

Copy link

commented Mar 7, 2017

thanks so much! 👍

@7ee1aa

This comment has been minimized.

Copy link

commented Mar 12, 2017

Another copy-paste .D Wooohooo!

@Tatiana01

This comment has been minimized.

Copy link

commented Mar 22, 2017

Thanks!!!

@rebekaszucs

This comment has been minimized.

Copy link

commented Mar 29, 2017

Great course, thank you!:) I can't wait to learn more

@Vercsi

This comment has been minimized.

Copy link

commented Apr 1, 2017

Thank You! U are awesome! ;)

@nnannos

This comment has been minimized.

Copy link

commented Apr 8, 2017

Thank you for the code.

@neliamx4

This comment has been minimized.

Copy link

commented Apr 9, 2017

Thanks!;)

@Florin415

This comment has been minimized.

Copy link

commented Apr 10, 2017

Thanks 👍

@ghost

This comment has been minimized.

Copy link

commented Apr 11, 2017

Thanks o/

@ramywageh

This comment has been minimized.

Copy link

commented Apr 22, 2017

that is good

@K1ngandrius

This comment has been minimized.

Copy link

commented Apr 23, 2017

Why is showing me an error here while i try to run the app!! Can anyone help me please.
error java studio

@ShanakaWickramaarachchi

This comment has been minimized.

Copy link

commented May 3, 2017

@K1ngandrius I can see one thing ,that your displayPrice method is not initiated properly

@asongsoekamti

This comment has been minimized.

Copy link

commented May 4, 2017

Thanks for your file

@ramadani

This comment has been minimized.

Copy link

commented May 17, 2017

Great

@geekbae

This comment has been minimized.

Copy link

commented Jun 12, 2017

jeez :) please us this code for ordering -2 coffees, would be problem at your local Tim Hortons.

quantity = quantity - 1;
quantity = quantity < 0? 0 : quantity;
display(quantity)

I love this Free coffees, wish we have more this method of payment videos = Thank You! ;

@koshkinmax

This comment has been minimized.

Copy link

commented Nov 23, 2017

tnx

@Yusufiadi

This comment has been minimized.

Copy link

commented Nov 24, 2017

Run it

@Ramymgamal

This comment has been minimized.

Copy link

commented Dec 6, 2017

thanks

@MarcinSonic

This comment has been minimized.

Copy link

commented Dec 8, 2017

got it!

@w3dmaktob

This comment has been minimized.

Copy link

commented Dec 9, 2017

Thanks

@ghost

This comment has been minimized.

Copy link

commented Dec 12, 2017

That is perfect !!!

@nosalska

This comment has been minimized.

Copy link

commented Dec 17, 2017

Thank you :-)

@AhmMahgoub

This comment has been minimized.

Copy link

commented Dec 18, 2017

great !

@arp-wtm

This comment has been minimized.

Copy link

commented Dec 20, 2017

Happy to be here! I like this adventure!

@GabrielePorro

This comment has been minimized.

Copy link

commented Dec 20, 2017

yeah!

@Sherif-Adham

This comment has been minimized.

Copy link

commented Dec 24, 2017

That worked very good

@Holja

This comment has been minimized.

Copy link

commented Jan 2, 2018

Thanks

@NisanTarhan

This comment has been minimized.

Copy link

commented Jan 13, 2018

Thanks a lot

@drszabodavid

This comment has been minimized.

Copy link

commented Jan 14, 2018

Thanks ;)

@PereViki

This comment has been minimized.

Copy link

commented Jan 15, 2018

Let's see how it works :-)

@Janek666

This comment has been minimized.

Copy link

commented Jan 20, 2018

Thanks!

@AhmedOmarDarwish

This comment has been minimized.

Copy link

commented Jan 25, 2018

Thank you

@MAXDANK

This comment has been minimized.

Copy link

commented Jan 25, 2018

When I hit the order button, My price text view changes to free but the text in place of $10 remains same.
PLEASE HELP

@osamasarhan

This comment has been minimized.

Copy link

commented Jan 25, 2018

More pls

@Maxwe1

This comment has been minimized.

Copy link

commented Jan 29, 2018

Thank you.

@Leonard02

This comment has been minimized.

Copy link

commented Feb 1, 2018

thanks

@Nogaeman

This comment has been minimized.

Copy link

commented Feb 2, 2018

Thanks

@ScaTar

This comment has been minimized.

Copy link

commented Feb 4, 2018

Díky kámo.. Thank you.

@eyp1453

This comment has been minimized.

Copy link

commented Feb 5, 2018

Thanks

@SSafia

This comment has been minimized.

Copy link

commented Feb 5, 2018

Thank you! 💯

@nepara90

This comment has been minimized.

Copy link

commented Feb 6, 2018

thanks!

@yassalah

This comment has been minimized.

Copy link

commented Feb 7, 2018

Thanks

@samiaissaoui

This comment has been minimized.

Copy link

commented Feb 9, 2018

*great

@HaythamSA

This comment has been minimized.

Copy link

commented Feb 9, 2018

thank you

@abrarabd

This comment has been minimized.

Copy link

commented Feb 11, 2018

thanks

@abdahma01

This comment has been minimized.

Copy link

commented Feb 12, 2018

Done

@badrddinb

This comment has been minimized.

Copy link

commented Feb 19, 2018

Thanks 👍
image

@Hamzah2018

This comment has been minimized.

Copy link

commented Feb 22, 2018

thanks

@AbdooRaf3

This comment has been minimized.

Copy link

commented Feb 22, 2018

شكرا
thanks

@first-hero

This comment has been minimized.

Copy link

commented Feb 23, 2018

thank you

@nazarshami

This comment has been minimized.

Copy link

commented Feb 24, 2018

Thanks!!

@fawaz1600

This comment has been minimized.

Copy link

commented Feb 26, 2018

Thank you

@jerrarum

This comment has been minimized.

Copy link

commented Mar 3, 2018

thank you

@AbdelrhmanMHsn

This comment has been minimized.

Copy link

commented Mar 7, 2018

thanks

@mayzeada

This comment has been minimized.

Copy link

commented Mar 13, 2018

thank you

@MostafaMahmoudAhmed

This comment has been minimized.

Copy link

commented Mar 13, 2018

Thanks A Lot :)

@hatemphp

This comment has been minimized.

Copy link

commented Mar 13, 2018

thanks

@rsaati77

This comment has been minimized.

Copy link

commented Mar 16, 2018

Thanks!

@Ncairi

This comment has been minimized.

Copy link

commented Mar 23, 2018

screenshot_2018-03-23-14-43-47
it is ok 👍

@mounika82

This comment has been minimized.

Copy link

commented Mar 23, 2018

superb....!!!

@abdobasha2004

This comment has been minimized.

Copy link

commented Mar 30, 2018

Very nice work in the course

@sajad-lone

This comment has been minimized.

Copy link

commented Mar 31, 2018

Thanks...Kathrine

@djames2018

This comment has been minimized.

Copy link

commented Apr 11, 2018

Got it!

@chinnuj

This comment has been minimized.

Copy link

commented Apr 27, 2018

thanks

@hudsonpereira

This comment has been minimized.

Copy link

commented May 6, 2018

Here we go

@shoooka

This comment has been minimized.

Copy link

commented May 10, 2018

Thank's

@SaeedAlbaradie

This comment has been minimized.

Copy link

commented May 11, 2018

I hope to me such an order like that……:)

@Alihani0almamary

This comment has been minimized.

Copy link

commented May 25, 2018

I need hellp for this error
20

@mostafakaplan

This comment has been minimized.

Copy link

commented May 26, 2018

@Alihani0almamary
مرحبا اخي
بدلا عن وضع الشريحة السفلية
_
احذفها و
اعمل مسافة بين كلمة
String
و
priceMessage
وهذه الصورة للتوضيح
fix error help 1

@shyennekey

This comment has been minimized.

Copy link

commented May 30, 2018

Thanks :)

@ahsam7145

This comment has been minimized.

Copy link

commented May 31, 2018

Thank you

@Haapiiiii

This comment has been minimized.

Copy link

commented Jun 6, 2018

perfect

@jhonathan94

This comment has been minimized.

Copy link

commented Jun 10, 2018

Thank you

@raDIUM2010

This comment has been minimized.

Copy link

commented Jun 11, 2018

谢谢

@muhamadaliibrahim

This comment has been minimized.

Copy link

commented Jun 20, 2018

دەستان خۆشبێت
Well Done 👍

@faiza3

This comment has been minimized.

Copy link

commented Jun 23, 2018

thanks

@harunaadoga

This comment has been minimized.

Copy link

commented Jul 11, 2018

So far so good

@harunaadoga

This comment has been minimized.

Copy link

commented Jul 11, 2018

screen shot 2018-07-11 at 09 57 46

@ShubhangPK

This comment has been minimized.

Copy link

commented Jul 14, 2018

Ola Amegos!
Gracias!

@johninit

This comment has been minimized.

Copy link

commented Jul 18, 2018

gr8t

@ridaservicerida

This comment has been minimized.

Copy link

commented Aug 11, 2018

Thank you +1

@sliman2017

This comment has been minimized.

Copy link

commented Aug 13, 2018

thank you.

@samyabdellatif

This comment has been minimized.

Copy link

commented Aug 15, 2018

thank you

@jerrychong25

This comment has been minimized.

Copy link

commented Aug 17, 2018

Thanks

@emanhamad

This comment has been minimized.

Copy link

commented Sep 1, 2018

display "Free" when clicked the button

@melguebli

This comment has been minimized.

Copy link

commented Sep 7, 2018

thanks

@Yogesh-Bhati

This comment has been minimized.

Copy link

commented Oct 2, 2018

Thanks.

@lomiara

This comment has been minimized.

Copy link

commented Oct 15, 2018

Thanks

@ASMAALKHALDI

This comment has been minimized.

Copy link

commented Dec 29, 2018

thank you

@Saitama-Sensie

This comment has been minimized.

Copy link

commented Feb 11, 2019

even thought the correct variable name is submitted it still says its wrong

@aftiyah94

This comment has been minimized.

Copy link

commented Mar 10, 2019

Thank's

@djalilo24

This comment has been minimized.

Copy link

commented Mar 20, 2019

thank's

@LyThanhQui

This comment has been minimized.

Copy link

commented Apr 18, 2019

thank you very much!

@elnehrawy

This comment has been minimized.

Copy link

commented Jul 2, 2019

cool

@DIsMInd

This comment has been minimized.

Copy link

commented Jul 7, 2019

nice

@hamada3a3

This comment has been minimized.

Copy link

commented Aug 19, 2019

Thank you so much

@habibna

This comment has been minimized.

Copy link

commented Oct 5, 2019

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.