Skip to content

Commit

Permalink
Add JavaDoc for new classes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcauberer committed Feb 3, 2021
1 parent e8b5db9 commit a352f13
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ package com.chillibits.simplesettings.core

import android.content.Context

open class PreferenceElement(
/**
* Base preference element, designed to be inherited from
*/
abstract class PreferenceElement(
val context: Context,
val iconSpaceReserved: Boolean
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ package com.chillibits.simplesettings.core
import android.content.Context
import androidx.annotation.LayoutRes

/**
* Page element for page headers / setting screen headers.
* More information: https://github.com/marcauberer/simple-settings/wiki/PreferenceHeader
*/
class PreferenceHeader(
context: Context,
iconSpaceReservedByDefault: Boolean
Expand Down

0 comments on commit a352f13

Please sign in to comment.