diff options
author | Allan Wang <me@allanwang.ca> | 2018-01-01 23:22:51 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2018-01-01 23:22:51 -0500 |
commit | 71f5dc2f7ce5b8183421586e6a77be65040a4dff (patch) | |
tree | fedd18e271463ce2430637a9913e8470e84181ce /about/README.md | |
parent | f94d6f9694973c2a323e565794d948002593df0a (diff) | |
download | kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.gz kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.tar.bz2 kau-71f5dc2f7ce5b8183421586e6a77be65040a4dff.zip |
Format everything and use reified generics
Diffstat (limited to 'about/README.md')
-rw-r--r-- | about/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/about/README.md b/about/README.md index 77a329d..ccde4e6 100644 --- a/about/README.md +++ b/about/README.md @@ -18,8 +18,9 @@ Note that the viewpager by default will keep all panels in memory, so it's best You may easily launch the activity through the binder: ``` -Activity.kauLaunchAbout(YourClass::class.java) +Activity.kauLaunchAbout<T>() ``` +where `T` extends `AboutActivityBase` Be sure to include the activity in your Manifest and have it extend `Kau.About`, or any other style that achieves the same look. |