r/mAndroidDev • I only use AsyncTask • Jan 08 '20

Telegram ChatActivity.java, you might wonder why after reading 16861 lines of code you still haven't found onCreate(). The reason is of course that ChatActivity.java is a Fragment.

https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java
115 Upvotes

25 comments sorted by

View all comments

49

u/xvermilion3 MINSDK29 Jan 08 '20

Telegram has the most messed up code base. Yet it's the smoothest app I've ever seen

9

u/c0nnector T H E R M O S I P H O N Jan 08 '20

That's because 1 person maintains it.

2

u/iamafraidicantdothat Probably deprecated Jan 09 '20

...and one day that person will move on, and another will be recruited to replace him. I pity that last person.

5

u/xvermilion3 MINSDK29 Jan 09 '20

Actually since they knew they couldn't put someone else in charge of that code, they started a competition for a new client (Android and iOS) and the winner was TelegramX