implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'com.google.android.material:material:1.2.0'
implementation 'com.google.android.material:material:1.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.7.1'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.okhttp3:logging-interceptor:4.3.1'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
implementation 'com.github.bumptech.glide:glide:4.11.0'
implementation 'org.apache.commons:commons-lang3:3.5'
implementation 'commons-io:commons-io:2.4'
implementation 'org.jsoup:jsoup:1.14.3'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.amitshekhar.android:android-networking:1.0.2'
Пустая строка не может быть цифройЯ в самом вопросе написал что из за того что поле пустое приложение закрывается исходя из этого я наверное понимаю что
Пустая строка не может быть цифрой!Логично? Логично! А вопрос я задал как можно решить эту проблему а не о том лезть мне в программирование или нет?
<androidx.cardview.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto"
app:cardCornerRadius="8dp"
android:layout_margin="4dp">
<LinearLayout
android:id="@+id/line"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:gravity="center"
android:weightSum="2"
android:orientation="horizontal">
<TextView
android:id="@+id/name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="2"
android:layout_margin="4dp"
android:text="10 USDT"
android:textColor="@color/colorBlack"
android:textStyle="bold"
android:textSize="25sp" />
<Button
android:id="@+id/view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="4dp"
android:background="@drawable/button_1"
android:text="View"
android:textStyle="bold"
android:textColor="@color/colorWhite"/>
<TextView
android:id="@+id/url"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</androidx.cardview.widget.CardView>
Я смотрел видео про реализацию этого дела на Spring Boot, и мне более и менее понятна реализация, самого api, но дело в том что я не разу ни работал с java хостингом и как это дело потом залить на хостинг я не знаю?