Skip to content

Instantly share code, notes, and snippets.

@pocmo
Created March 12, 2018 14:50
Show Gist options
  • Save pocmo/b5e130dc3df6625364a3833c43cd646c to your computer and use it in GitHub Desktop.
Save pocmo/b5e130dc3df6625364a3833c43cd646c to your computer and use it in GitHub Desktop.
Some ideas include:
* Search plugins: Focus re-used a lot of Fennec code here and this code + search plugins is something that is annoying to keep
updated and bug free over multiple code bases.
* Autocomplete domains: We want to update the list and it is duplicated over all our code bases. Including the code to load
and autocomplete from those lists.
* InlineAutocompleteEditText: Focus copied and modified the version from Fennec. When we started working on Focus I couldn't
find any library that does this. Having this as a standalone component could be interesting for "regular" Android developers
too.
* BrowserToolbar: A URL bar is something that looks simple but is actually quite hard to do right. We had to fix a bunch of
spoofing issues before we released Focus 1.0. :) Breaking this into a generic library is not simple - but would prevent us
from doing the same mistakes over and over again.
• IWebView: In Focus we hide implementation endering web content behind an interface. We have implementations for this
interface based on WebView an GeckoView. If this is something we might want to do more often in the future then we could
move this to a library.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment