Skip to content

Commit

Permalink
GreenTuesday renamed to Travelino
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmartinovic committed Jan 19, 2019
1 parent 8044a1f commit b1d7e8d
Show file tree
Hide file tree
Showing 46 changed files with 538 additions and 515 deletions.
2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
</activity>
<activity android:name=".taxilist.presentation.TaxiListActivity" />
<activity
android:name=".greentuesday.presentation.GreenTuesdayActivity"
android:theme="@style/SampleTheme.GreenTuesday" />
android:name=".travelino.presentation.TravelinoActivity"
android:theme="@style/SampleTheme.Travelino" />
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package com.johnnym.jackitemanimator.sample

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.johnnym.jackitemanimator.sample.greentuesday.presentation.GreenTuesdayActivity
import com.johnnym.jackitemanimator.sample.travelino.presentation.TravelinoActivity
import com.johnnym.jackitemanimator.sample.taxilist.presentation.TaxiListActivity
import kotlinx.android.synthetic.main.activity_main.*

Expand All @@ -16,8 +16,8 @@ class MainActivity : AppCompatActivity() {
startActivity(TaxiListActivity.createIntent(this))
}

greenTuesdayButton.setOnClickListener {
startActivity(GreenTuesdayActivity.createIntent(this))
travelinoButton.setOnClickListener {
startActivity(TravelinoActivity.createIntent(this))
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.johnnym.jackitemanimator.sample

import com.johnnym.jackitemanimator.sample.greentuesday.GreenTuesdayComponent
import com.johnnym.jackitemanimator.sample.greentuesday.GreenTuesdayModule
import com.johnnym.jackitemanimator.sample.travelino.TravelinoComponent
import com.johnnym.jackitemanimator.sample.travelino.TravelinoModule
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListComponent
import com.johnnym.jackitemanimator.sample.taxilist.TaxiListModule
import dagger.Component
Expand All @@ -16,5 +16,5 @@ interface SampleApplicationComponent {
fun inject(sampleApplication: SampleApplication)

fun newTaxiListComponent(taxiListModule: TaxiListModule): TaxiListComponent
fun newGreenTuesdayComponent(greenTuesdayModule: GreenTuesdayModule): GreenTuesdayComponent
fun newTravelinoComponent(travelinoModule: TravelinoModule): TravelinoComponent
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.johnnym.jackitemanimator.sample.R

class CardViewOutlineProvider : ViewOutlineProvider() {
override fun getOutline(view: View, outline: Outline) {
val radius = view.resources.getDimension(R.dimen.green_tuesday_item_radius)
val radius = view.resources.getDimension(R.dimen.travelino_item_radius)
outline.setRoundRect(0, 0, view.width, view.height, radius)
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b1d7e8d

Please sign in to comment.