| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- Framework
- IOS
- DispatchQueue
- mac
- Compose
- xcframework
- 3rd framework
- Android
- Andorid
- arm-linux-androideabi
- VM arguments
- Swift
- Eclipse
- 3rd part
- NDK
- Registering an InstanceCreator with Gson for this type may fix this problem
- Java
- ndkVersion
- data binding
- defaultconfig
- retrofit
- buildconfigfield
- BindingAdapter
- AOS
- gradle
- Chat GPT
- EditText
- boot
- Jetpack
- Kotlin
- Today
- Total
목록Android (14)
grape
OKHttpclient import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; import okhttp3.logging.HttpLoggingInterceptor; import retrofit2.Retrofit; import retrofit2.converter.gson.GsonConverterFactory; import retrofit2.converter.scalars.ScalarsConverterFactory; public class RetrofitGPT ..
miss @JvmStatic miss match attribute miss match @BindingAdapter("text_num") miss match @InverseBindingAdapter(attribute = "text_num", event = "android:textAttrChanged") two-way-binding build message The expression 'viewmodelNum.getValue()' cannot be inverted, so it cannot be used in a two-way binding one-way-binding fatal message java.lang.RuntimeException: Unable to start activity ComponentInfo..
viewmodel private val _num = MutableLiveData(0) var num: LiveData = _num bindingadapter object CustomBindingAdapter{ @JvmStatic @BindingAdapter("text_int") fun setText(view: TextView, text: Int){ view.text = text.toString() } @JvmStatic @InverseBindingAdapter(attribute = "text_int", event = "android:textAttrChanged") fun getText(view: TextView): Int { return view.text.toString().toIntOrNull() ?:..
databinding send view & BindingAdapter ViewModel class ViewModel() : ViewModel() { //If want update view data then use LiveData //EditText support String simple private val _text = MutableLiveData(String) val data: LiveData = _text //EditText not support Int Type need BindingAdapter private val _num = MutableLiveData(String) val num: LiveData = _num layout BindingAdapter object EditTextDataBindi..
Creator new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION, SampleRate, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT, sizeInBytes) Parameter MediaRecorder.AudioSource.VOICE_RECOGNITION(사용할 AudioSource 음성인식, need spec or Support spec) SampleRate(Sampling Rate of AudioFormat, need spec or Support spec) AudioFormat.CHANNEL_IN_MONO(channel type of AudioFormat , need spec or S..