This file contains hidden or 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
| { | |
| "metadata": { | |
| "location": { | |
| "name": "New York Central Park", | |
| "country": "USA", | |
| "lat": 40.7829, | |
| "lon": -73.9654, | |
| "elevation": 35.1 | |
| }, | |
| "date": { |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| [ | |
| { | |
| "quote": "A la grande le puse Cuca.", | |
| "author": "Homero Simpson", | |
| "image": "https://cdn.glitch.com/3c3ffadc-3406-4440-bb95-d40ec8fcde72%2FHomerSimpson.png?1497567511939" | |
| }, | |
| { | |
| "quote": "¡¿Alguien quiere pensar en los niños?!", | |
| "author": "Helena Alegría", | |
| "image": "https://static.wikia.nocookie.net/lossimpson/images/1/16/Helen_Lovejoy.png" |
This file contains hidden or 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
| import android.app.Application | |
| import android.util.Log | |
| import com.rogergcc.encryptedsharedpreferencessample.encrypt.EncryptedSharedPreferencesManager | |
| import com.rogergcc.encryptedsharedpreferencessample.encrypt.SharedPreferencesMigrator | |
| import com.rogergcc.encryptedsharedpreferencessample.preferences.SharedPreferencesManager | |
| /** | |
| * Created on enero. |
This file contains hidden or 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
| import android.Manifest; | |
| import android.app.Activity; | |
| import android.content.pm.PackageManager; | |
| import androidx.core.app.ActivityCompat; | |
| /** | |
| * Created on septiembre. | |
| * year 2023 . | |
| */ |
This file contains hidden or 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
| //In Adapter | |
| public void setContactsList(final List<Contact> contactsList) { | |
| Log.d("LOGG_DEBUG", "setNotes COntactAdapter: "); | |
| ContactsDiffUtilCallback contactsDiffUtilCallback = new ContactsDiffUtilCallback(mContactList, contactsList); | |
| DiffUtil.DiffResult diffResult = DiffUtil.calculateDiff(contactsDiffUtilCallback); | |
| diffResult.dispatchUpdatesTo(this); | |
| mContactList.clear(); | |
| mContactList.addAll(contactsList); | |
| } |
This file contains hidden or 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
| private val viewModel by viewModels<MovieViewModel> { | |
| MovieViewModelFactory( | |
| IMovieRepositoryImpl( | |
| RemoteMovieDataSource(RetrofitClient.webservice), | |
| LocalMovieDataSource(AppDatabase.getDatabase(requireContext()).movieDao()) | |
| ) | |
| ) | |
| } | |
| //2 not arguments |
This file contains hidden or 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
| Firebase Crashlyticss | |
| > https://github.com/ayhanunal/FirebaseCrashlytics |
This file contains hidden or 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
| android:name=".ui.splashScreen.SplashActivity" | |
| android:configChanges="keyboard|keyboardHidden|orientation|screenSize" | |
| android:screenOrientation="portrait" | |
| android:theme="@style/SplashTheme" | |
| android:windowSoftInputMode="adjustResize" | |
This file contains hidden or 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
| import android.util.Log | |
| import java.security.KeyStore | |
| import java.security.cert.CertificateException | |
| import java.security.cert.X509Certificate | |
| import javax.net.ssl.TrustManagerFactory | |
| import javax.net.ssl.X509TrustManager | |
| class MyTrustManagerPinned : X509TrustManager { |
NewerOlder