Skip to content

Commit

Permalink
Fix typos in sample app. Rename exmaple to example (#100)
Browse files Browse the repository at this point in the history
Fix typos in sample app. Rename exmaple to example

Co-authored-by: Gert Dingenen <[email protected]>
  • Loading branch information
kizitonwose and Gert Dingenen authored Dec 13, 2019
2 parents a2b7e00 + 9e11047 commit 31694c5
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import com.kizitonwose.calendarview.ui.ViewContainer
import com.kizitonwose.calendarview.utils.yearMonth
import com.kizitonwose.calendarviewsample.*
import kotlinx.android.synthetic.main.example_6_fragment.*
import kotlinx.android.synthetic.main.exmaple_1_fragment.*
import kotlinx.android.synthetic.main.exmaple_2_fragment.*
import kotlinx.android.synthetic.main.exmaple_5_fragment.*
import kotlinx.android.synthetic.main.example_1_fragment.*
import kotlinx.android.synthetic.main.example_2_fragment.*
import kotlinx.android.synthetic.main.example_5_fragment.*
import org.junit.After
import org.junit.Assert.assertTrue
import org.junit.Before
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import com.kizitonwose.calendarview.utils.next
import com.kizitonwose.calendarview.utils.yearMonth
import kotlinx.android.synthetic.main.calendar_day_legend.*
import kotlinx.android.synthetic.main.example_1_calendar_day.view.*
import kotlinx.android.synthetic.main.exmaple_1_fragment.*
import kotlinx.android.synthetic.main.example_1_fragment.*
import org.threeten.bp.LocalDate
import org.threeten.bp.YearMonth
import org.threeten.bp.format.DateTimeFormatter
Expand All @@ -36,7 +36,7 @@ class Example1Fragment : BaseFragment(), HasToolbar {
override val titleRes: Int = R.string.example_1_title

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.exmaple_1_fragment, container, false)
return inflater.inflate(R.layout.example_1_fragment, container, false)
}

private val selectedDates = mutableSetOf<LocalDate>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import com.kizitonwose.calendarview.ui.MonthHeaderFooterBinder
import com.kizitonwose.calendarview.ui.ViewContainer
import kotlinx.android.synthetic.main.calendar_day_legend.*
import kotlinx.android.synthetic.main.example_2_calendar_header.view.*
import kotlinx.android.synthetic.main.exmaple_2_fragment.*
import kotlinx.android.synthetic.main.example_2_fragment.*
import org.threeten.bp.LocalDate
import org.threeten.bp.YearMonth
import org.threeten.bp.format.DateTimeFormatter
Expand All @@ -31,7 +31,7 @@ class Example2Fragment : BaseFragment(), HasToolbar, HasBackButton {

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
setHasOptionsMenu(true)
return inflater.inflate(R.layout.exmaple_2_fragment, container, false)
return inflater.inflate(R.layout.example_2_fragment, container, false)
}

private var selectedDate: LocalDate? = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.calendar_day_legend.view.*
import kotlinx.android.synthetic.main.example_3_calendar_day.view.*
import kotlinx.android.synthetic.main.example_3_event_item_view.*
import kotlinx.android.synthetic.main.exmaple_3_fragment.*
import kotlinx.android.synthetic.main.example_3_fragment.*
import kotlinx.android.synthetic.main.home_activity.*
import org.threeten.bp.LocalDate
import org.threeten.bp.YearMonth
Expand Down Expand Up @@ -128,7 +128,7 @@ class Example3Fragment : BaseFragment(), HasBackButton {
private val events = mutableMapOf<LocalDate, List<Event>>()

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.exmaple_3_fragment, container, false)
return inflater.inflate(R.layout.example_3_fragment, container, false)
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import com.kizitonwose.calendarview.ui.ViewContainer
import kotlinx.android.synthetic.main.calendar_day_legend.*
import kotlinx.android.synthetic.main.example_4_calendar_day.view.*
import kotlinx.android.synthetic.main.example_4_calendar_header.view.*
import kotlinx.android.synthetic.main.exmaple_4_fragment.*
import kotlinx.android.synthetic.main.example_4_fragment.*
import org.threeten.bp.LocalDate
import org.threeten.bp.YearMonth
import org.threeten.bp.format.DateTimeFormatter
Expand Down Expand Up @@ -53,7 +53,7 @@ class Example4Fragment : BaseFragment(), HasToolbar, HasBackButton {

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
setHasOptionsMenu(true)
return inflater.inflate(R.layout.exmaple_4_fragment, container, false)
return inflater.inflate(R.layout.example_4_fragment, container, false)
}

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import kotlinx.android.extensions.LayoutContainer
import kotlinx.android.synthetic.main.calendar_day_legend.view.*
import kotlinx.android.synthetic.main.example_5_calendar_day.view.*
import kotlinx.android.synthetic.main.example_5_event_item_view.*
import kotlinx.android.synthetic.main.exmaple_5_fragment.*
import kotlinx.android.synthetic.main.example_5_fragment.*
import org.threeten.bp.LocalDate
import org.threeten.bp.LocalDateTime
import org.threeten.bp.YearMonth
Expand Down Expand Up @@ -79,7 +79,7 @@ class Example5Fragment : BaseFragment(), HasToolbar {
override val titleRes: Int = R.string.example_5_title

override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.exmaple_5_fragment, container, false)
return inflater.inflate(R.layout.example_5_fragment, container, false)
}

private var selectedDate: LocalDate? = null
Expand Down

0 comments on commit 31694c5

Please sign in to comment.