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
| Mercado pago : | |
| implementation ('com.mercadopago.android.px:checkout:4.+') | |
| https://github.com/mercadopago/px-android | |
| Error: | |
| Duplicate value for resource 'attr/labelVisibilityMode' with config 'DEFAULT' and product | |
| Fix : | |
| build.gradle | |
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
| class MainActivity : AppCompatActivity() { | |
| private val html = "<html><ul>Message".plus( | |
| "<li> Prueba 1</li>" | |
| ).plus( | |
| "<li> Prueba 2</li>" | |
| ).plus( | |
| "<li> Prueba 3</li>" | |
| ).plus( | |
| "</ul></html>" | |
| ) |
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
| edmedina@BLX-PE-edmedina-2 AppDemo % ./gradlew tasks | |
| Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details | |
| > Task :tasks | |
| ------------------------------------------------------------ | |
| Tasks runnable from root project | |
| ------------------------------------------------------------ | |
| Android tasks |
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
| package com.emedinaa.rawdemo | |
| import android.net.Uri | |
| import android.os.Bundle | |
| import android.util.Log | |
| import androidx.appcompat.app.AppCompatActivity | |
| import kotlinx.android.synthetic.main.activity_main.* | |
| import java.io.* | |
| class MainActivity : AppCompatActivity() { |
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
| @Override | |
| public void onBindViewHolder(@NonNull RecyclerAdapter.CharacterViewHolder holder, int position) { | |
| Character character = characterList.get(position); | |
| holder.tvName.setText(character.getName()); | |
| holder.tvHouse.setText(character.getHouse()); | |
| holder.tvPatronous.setText(character.getPatronus()); | |
| holder.tvSpecies.setText(character.getBloodStatus()); | |
| holder.tvSpecies.setText(character.getSpecies()); |
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
| task sourcesJar(type: Jar) { | |
| from android.sourceSets.main.java.srcDirs | |
| archiveClassifier = 'sources' | |
| } | |
| artifacts { | |
| archives sourcesJar | |
| } |
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 developers resources | |
| Getting started in Android development | |
| Android developers | |
| - official website https://developer.android.com/ | |
| - Codelabs https://codelabs.developers.google.com/ | |
| - Youtube https://www.youtube.com/user/androiddevelopers | |
| - Android developers Blog https://android-developers.googleblog.com/ | |
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
| socketio='1.0.0'//‘io.socket:socket.io-client:1.0.0' https://mvnrepository.com/artifact/io.socket/socket.io-client/1.0.0 | |
| implementation "io.socket:socket.io-client:$rootProject.socketio" | |
| package com.emedinaa.kotlinapp.data.socket | |
| import io.socket.client.Ack | |
| import io.socket.emitter.Emitter | |
| import androidx.annotation.Nullable | |
| import io.socket.client.IO |
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
| //build.gradle | |
| buildscript { | |
| ext.kotlin_version = '1.3.21' | |
| repositories { | |
| google() | |
| jcenter() | |
| } | |
| dependencies { |
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
| //all | |
| private fun loadNotes(){ | |
| val notesQuery:Query = mDatabase.child("notes") | |
| val options= FirebaseRecyclerOptions.Builder<NoteEntity>() | |
| .setQuery(notesQuery,NoteEntity::class.java) | |
| .build() | |
| noteAdapter= NoteAdapter(options) | |
| recyclerViewNotes.adapter= noteAdapter |