Looking for android / Kotlin dev help. My LLM and I are too stupid to make the chat screen be pushed up when I expand the keybaord like with any other messenger. Please help, say hi below or open a PR!

https://github.com/callebtc/bitchat-android

https://blossom.primal.net/b50cba10a624ec9e075a5bc71f766f8dd7e2b223402763464868918d7f77c49f.mp4

Reply to this note

Please Login to reply.

Discussion

nostr:nprofile1qqsr9cvzwc652r4m83d86ykplrnm9dg5gwdvzzn8ameanlvut35wy3gpz3mhxw309aex2mrp0yhx5c34x5hxxmmd9uqsuamnwvaz7tmwdaejumr0dshszythwden5te0dehhxarj9ekxzmny9u0ljp2l how did you guys fix this is android family, you had a similar issue when testing the app

Damus*

We are using egui so we have the ability per-frame to do whatever we want.

Was surprisingly hard to do. Had to use getWindowInsets and inset change notifications to get the size if the keyboard

Then anytime we render an input box and if its focused, then was save the rectangle during that frame.

If the focused input box rectangle intersects with the keyboard inset rect we get from android, then we animate and resize the screen and make a bunch of view modifications so that the side toolbar isn’t squished.

If the keyboard doesn’t intersect any focused input boxes then nothing happens, which makes sense.

I’m pretty happy with the end result.

Graci for the explanier jb

Its true ai didn’t really help much, because the platform integrations didn’t yet exist. I had to add them to android-activity and winit.

Fun to work on greenfield tech that has no training data. These clankers aren’t replacing us yet 😂

https://github.com/damus-io/android-activity/commit/092a83b747937a2890ac219617a4252c001842ea

https://github.com/damus-io/winit/commit/9e4ea9de75222d2523a20f18d3a0a108c573737d

Also if you can make a forum option too lol. That would be great:):)

We are looking for an investor who can loan our holding company 237,000 US dollars.

With this money, we will open a farm in Baku, Azerbaijan to produce animal-based food.

We will also make our own animal feed, so our products will be healthier, better quality, and cheaper.

Because we sell quality products for less and have strong advertising, we will sell more worldwide and make big profits.

Why Azerbaijan? Because animal farming makes a lot of money there, but few people do it. That’s why we will earn more by starting in Azerbaijan.

Additionally, by producing our own animal feed, we will be able to sell healthier, higher quality animal products at a lower price.

Since we can sell quality products cheaply and thanks to our strong advertising network, we will be able to sell more internationally and make huge profits.

The reason for establishing the business in Azerbaijan is that animal husbandry is a very profitable business in Azerbaijan, but since there are very few people doing animal husbandry, establishing the farm in Azerbaijan will provide us with more income.

Your profit:

You will lend 237,000 US dollars to our holding company and when 22.03.2026 comes, you will receive your money back as 953,000 US dollars.

Your earnings will be great. When 22.03.2026 comes, you will get your money back as 953.00 US dollars.

You will lend 237,000 US dollars to our holding company and when 22.03.2026 comes, you will receive your money back as 953,000 US dollars.

When 22.03.2026 comes, I will give you back your money in the amount of 953,000 US dollars.

That means you will earn 716,000 US dollars profit in just 9 months.

If you like this project and want to loan us money, message me on WhatsApp or Telegram for more details.

If our project is suitable for you and you would like to lend money to our holding, send a message to my WhatsApp number or Telegram username below and I will give you detailed information.

For detailed information and to lend money to our holding, send a message to my whatsapp number or telegram username below and I will give you detailed information.

My WhatsApp phone number:

+44 7842 572711

My telegram username:

@adenholding

Use reverseLayout on that lazycolumn. Compose thinks your top item is the top message, not the bottom.

reverseLayout = true,