jb55 on Nostr: I added some code to android/notedeck that simply saves your scroll position when new ...
I added some code to android/notedeck that simply saves your scroll position when new notes get added above. This has an interesting effect:
Since notes are loaded from nostrdb first, when you first open the app, you will be at your position when you last had the app open. Then when new notes load above, you can start scrolling and read everything you missed since your last session.
This is really neat, I will try to bring this back to iOS.
Published at
2024-05-16 18:14:30Event JSON
{
"id": "ae4ca9e5d39b6ce0f692b56579907791c50cfc55556f20492073a4a57d5a93d8",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1715883270,
"kind": 1,
"tags": [],
"content": "I added some code to android/notedeck that simply saves your scroll position when new notes get added above. This has an interesting effect:\n\nSince notes are loaded from nostrdb first, when you first open the app, you will be at your position when you last had the app open. Then when new notes load above, you can start scrolling and read everything you missed since your last session.\n\nThis is really neat, I will try to bring this back to iOS.",
"sig": "85587f4f5a88611b31b354790082d66b84ec9dce061e004e5744e3c781f44f9aaf5a9565fcf83402f9026c504c489e6fa139865cad661abc9e1885432ad00ff8"
}