Skip to content

Instantly share code, notes, and snippets.


Frans-Lukas Lövenvald Frans-Lukas

View GitHub Profile
Frans-Lukas /
Last active Mar 31, 2021
A summary of Frans-Lukas summer of code at Kiwix 2020.

Frans-Lukas Google summer of code 2020

My initial goal for this summer was to create a style guide and refactor the user interface of the Kiwix Android application. This goal, and more, is also what I have achieved. To start with, my mentor and I discussed how the user interface should be refactored, and came to the conclusion that the in-app navigation is what needed to change. This navigation refactor was designed, discussed and planned. The style guide was also discussed, and incrementally written as a markdown linked in the GitHub contribution guide [2].

The navigation refactor consisted of moving common activities/destinations to a bottom navigation bar instead of being hidden in different menus across the application. This also included bringing a new library/module to the project, the navigation component [7]. This component allows for easier implementati

View error_dump_isFragmentActivity.kt
E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.kiwix.kiwixcustomcustomexample, PID: 1286
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.kiwix.kiwixcustomcustomexample/org.kiwix.kiwixmobile.custom.main.CustomMainActivity}: java.lang.IllegalStateException: Required view 'activity_main_root' with ID 2131296334 for field 'root' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.