Skip to content

Latest commit

 

History

History
51 lines (45 loc) · 2.65 KB

File metadata and controls

51 lines (45 loc) · 2.65 KB

Ackermann Function AsyncTask

Application calculates value of Ackermann function using AsyncTask. Common problem of AsyncTask such as view leaking, configuration change handling are solved via retain fragment, design principles (SOLID).

Ackermann function values is calculated recursively:
Recursive definition

Usage

ActionScreenshot
Start application
Calculation process
Calculation result
Stack overflow error result
Wrong arguments error result

References

Android developers documentation:

Java documentation:

Ackermann function description: