How do I make a Factorial Calculator

can you help me?

How to make a factorial calculator in Android Studio that will print the answer in toast?