How to use Dokka to generate Docs like Kotlinlang.org - android

AFAIK Kotlin's Documentation was made using Dokka. But the Examples stated in Dokka's Readme is only generating ultra basic webpages/markdown files with no elegance whatsoever.
It just looks like this
Here's another one by Atrium, docs link.
I'm wondering if I'm doing anything wrong.
I've also looked at the issues page and been browsing through other open source github projects that has used Dokka and the result is always the same.
Now a good example of how a tool that generates beautiful documentation would be Jazzy by Realm for Swift/Obj-C. Using it can be as easy as running one command on the terminal.
Here's an example documentation created using Jazzy
Further research with suggests that I may have to use third party tools like Gitbook or Jekyll to generate the kind of documentation I'm looking, is that really the only way?

Kotlinlang uses some custom styles for one of the dokka's output formats. Development on some better looking docs is underway

Related

Industry standards a self taught android developer should learn | Android studio, kotlin

I'm a self-taught android developer, I want to work as an android developer but I have some imposter syndrome. I think there should be coding conventions we should follow when we code, like:
Follow any architecture (MVP or MVVP)
Coding best practices (https://kotlinlang.org/docs/coding-conventions.html)
Using architecture components like LiveCycle, LiveData, Room, etc ...
Design with XML? (For now, I just export images and use them as design, an example: Here)
etc ...
I search on internet about coding convention and I only found this https://kotlinlang.org/docs/coding-conventions.html (Are they the only standars I need to follow ?)
I also try to look for professional android project I could read, but The only one I found on github is this one : https://github.com/Yazan98/Wintrop (And I don't know if I can take it as reference).
Can I still be hired without this knowledge**? If I need to learn them, what else should I learn to match industry standards? What information should I know about industry standards as a self-taught android developer?**
Thank you for your help!
No, standards there are several for example Modern Android App Architecture that I highly recommend you but also you can find something else like Guide to Android app modularization which is also important in the modern android applications creation.
For projects you can look at nowinandroid which is just very well done and this too it's some models that google's engineers have made for new learners it's really very well done all the standards are respected and they use the new technology in this project like jetpack compose instead of old XML, Room for local data storage, DataStore for preferences, Firebase...
I highly recommend these links

Android MVVM sample architecture project required

I am new to android MVVM architecture. Can I get any sample project from where I can follow folder structure for the implementation. I want to call REST Apis from the app. But I didn't find any good sample. Please let me know any good projects ti refer (Apart from google samples)
Like others mentioned, Google would be the first place to search this kind of stuff. As you mentioned, there are MVVM samples provided by Google on GitHub. However, they are a bit complicated to understand due to the project being really large. I believe this that this sample project is much easier to understand and does a good job explaining MVVM: https://proandroiddev.com/mvvm-architecture-viewmodel-and-livedata-part-1-604f50cda1.
Hopefully this helps!

Android Bootstrap what is that really, what does it do?

According to this link www.androidbootstrap.com/‎ I am wondering what does it really do, what is for? Am I supposed to use it?
I've read all text on this main page but I am still confused and I do not know should I use it.
The main problem is I don't see the point. Could someone tell me what is it for?
I am open for new technologies but here is the example where I don't understand, but they say that using their package will shorten my work on application.
Regards and I am looking for any information.
I am wondering what does it really do
It generates a skeleton Android project containing specific libraries. It is reminiscent of the new-project wizard in Eclipse, just supporting more third-party libraries, particularly ones that may be a bit of a challenge to get working together.
I had a look at this project to provide a quick set up for actionbarsherlock and dagger DI.
I think it’s a good idea as it seeks to provide an android template, with an out the box solution including sherlock and dagger. But I couldn’t get it working on eclipse, and the forum had a lot of people saying the same (I think its designed for Intelij IDEA)
I also looked at androidkickstartr which is more mature, but again had import issues, so just made my own template and imported sherlock and dagger

Is there any fake data generator that works with Android?

What I'm looking for is some library like Perl's Data::Faker, Ruby's factory_girl. Something that allows me to generate random Strings, Dates, ... for testing.
I saw this other question. But I want something that has been used by someone with Android.
I tried java-faker, jFairy - they don't work on android.
So I find fluttercode.datafactory - it's ok for android.
Add following to your app build.gradle to use it:
compile 'org.fluttercode.datafactory:datafactory:0.8'
Usage example: http://java.dzone.com/articles/generate-test-data-datafactory
From the link that you gave, it seems that you are looking for Mock libraries that could be used in Android.
This article, written by some Google engineers, use PowerMock library to do their unit tests in Android. You might want to try it out and follow the steps in the article to have your test up and running.
I've recently developed a library that can be used for generating test data for your applications in a programatic way.
Take a look at MockNeat: https://github.com/nomemory/mockneat
There are also two detailed examples on the wiki page:
Creating CSV with test data
Populating a SQL Schema with test data

Disassembling Android app

It turns out that Google recommends obfuscating your Android app.
In order to understand the problem, I would like to disassemble my own app and see what information I can extract from the code. How do I do this?
There are tools available for that, such as the pair linked to in this sentence. I have not used them and therefore cannot vouch for how well or easily they work.
Some tools are listed at What is a good android disassember that can produce infomative results
Also you can try undx http://undx.sourceforge.net/
Use them only for good :)

Categories

Resources