Skip to content

Instantly share code, notes, and snippets.

Params

HTTP/HTML Params

  • Series of key-value pairs (e.g. key: 'value'). Both are strings
  • Come from the user's browser when they request the page
  • Encoded in the url
Example

For an HTTP GET request, if a user's browser requested

@SandNerd
SandNerd / android_eventbus.md
Last active August 2, 2023 16:47
Android EventBus

Event Bus

(EventBus) - Android optimized event bus that simplifies communication between Activities, Fragments, Threads, Services, etc. Less code, better quality.

An EventBus is a great tool for decoupling components in your application. Over the next few posts I will describe the ways that I have been using it to make my code cleaner, easier to read, and easier to test. But first, this week I want to discuss why I use an EventBus in the first place. In particular, I will compare its use to some alternative techniques.