This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun LoginScreen( | |
modifier: Modifier = Modifier, | |
state: LoginScreenState = rememberLoginScreenState(), | |
) { | |
// ... | |
} | |
@Composable | |
fun rememberLoginScreenState( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DE91 1000 0000 0123 4567 89 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main () { | |
// write your stuff here | |
int x; // declare variable for a an "integer" value | |
float x; // declare variable for a "real" value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<androidx.constraintlayout.motion.widget.MotionLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:layoutDescription="@xml/scene"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<androidx.constraintlayout.widget.ConstraintLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:id="@+id/header" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Transition | |
motion:constraintSetEnd="@+id/end" | |
motion:constraintSetStart="@+id/start"> | |
<OnSwipe | |
motion:onTouchUp="stop" | |
motion:dragDirection="dragUp" | |
motion:touchAnchorId="@+id/header" /> | |
</Transition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ConstraintSet android:id="@+id/end"> | |
<Constraint | |
android:id="@+id/header" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
motion:layout_constraintEnd_toEndOf="parent" | |
motion:layout_constraintStart_toStartOf="parent" | |
motion:layout_constraintBottom_toTopOf="parent" /> | |
</ConstraintSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ConstraintSet android:id="@+id/start"> | |
<Constraint | |
android:id="@+id/header" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
motion:layout_constraintEnd_toEndOf="parent" | |
motion:layout_constraintStart_toStartOf="parent" | |
motion:layout_constraintTop_toTopOf="parent" /> | |
</ConstraintSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.oneandonly.bookstore.service; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Ignore; | |
import org.junit.Test; | |
import ro.oneandonly.bookstore.domain.Book; | |
import ro.oneandonly.bookstore.domain.validators.ValidatorException; | |
import ro.oneandonly.bookstore.repository.Repository; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ro.oneandonly.bookstore.util; | |
import org.jdom2.Document; | |
import org.jdom2.Element; | |
import org.jdom2.JDOMException; | |
import org.jdom2.input.SAXBuilder; | |
import org.jdom2.output.Format; | |
import org.jdom2.output.XMLOutputter; | |
import ro.oneandonly.bookstore.domain.BaseEntity; |
NewerOlder