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
public class DataManager { | |
public void getArticles(final DataManagerCallBacks dataManagerCallBacks){ | |
Call<UserResponse> call = this.apiService.getArticlesList(); | |
call.enqueue(new Callback<UserResponse>() { | |
@Override | |
public void onResponse(Call<UserResponse> call, Response<UserResponse> response) { | |
if(response.isSuccessful()){ |
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
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
/** | |
* Utility class that helps with fragment manipulation. | |
*/ | |
public class FragmentUtils { | |
/** |
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
D/OkHttp: --> POST http://www.fedisal.org.sv:8081/OV/rest/instrumentos/create | |
D/OkHttp: Content-Type: application/json; charset=UTF-8 | |
D/OkHttp: Content-Length: 269 | |
D/OkHttp: BodyRequest: {"fecha":"14/02/2018 05:14:53","instrumento":"1","respuestas":[{"comentario":"","valor":"2","variable":"G1"},{"comentario":"","valor":"3","variable":"G2"},{"comentario":"","valor":"2","variable":"G3"},{"comentario":"El Salvador","valor":"El Salvador","variable":"G4"}]} | |
D/OkHttp: --> END POST (269-byte body) | |
D/OkHttp: <-- 200 OK http://www.fedisal.org.sv:8081/OV/rest/instrumentos/create (344ms) | |
D/OkHttp: X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Oracle Corporation/1.7) | |
D/OkHttp: Server: GlassFish Server Open Source Edition 3.1.2.2 | |
D/OkHttp: Content-Type: application/json;charset=iso-8859-1 | |
D/OkHttp: Transfer-Encoding: chunked |
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
class Dialog private constructor( | |
val title: String, | |
val message: String, | |
val titleColor: Color, | |
val bodyColor: Color, | |
val icon: Image, | |
val onClose: () -> Unit) { | |
fun show() { | |
//... |
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
loadAllPokemon() //When the web page is finish to load, the first function to load is this one | |
// const allPokemon = pokemon["pokemon"] | |
function loadAllPokemon() { | |
const allPokemon = pokemon["pokemon"] | |
renderPokemonListInvView( allPokemon ) | |
} |
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
. | |
. | |
. | |
LocalSharedPreferences localSharedPreferences = new LocalSharedPreferences(this.context); | |
localSharedPreferences.setFirstName(owner.getFirstName()); | |
localSharedPreferences.setLastName(owner.getLastName()); | |
localSharedPreferences.setEmail(owner.getEmail()); | |
. | |
. | |
. |
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
<CheckBox | |
android:id="@+id/checkBox" | |
android:text="CheckBoxOne" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:theme="@style/MyCheckbox"/> |
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
{"fecha":"14\/02\/2018 05:14:53","instrumento":"1","respuestas":[{"variable":"G1","valor":"1"},{"variable":"G2","valor":"1"},{"variable":"G3","valor":"1"},{"variable":"G4","valor":"El Salvador","comentario":"El Salvador"},{"variable":"DEP","valor":"01"},{"variable":"URBANO","valor":"R"},{"variable":"T1","valor":"PC081003","comentario":"PC081003"},{"variable":"T2","valor":"6"},{"variable":"T3","valor":"A"},{"variable":"T4","valor":"1"},{"variable":"SEXO","valor":"F"},{"variable":"EDAD","valor":"35","comentario":"35"},{"variable":"D3","valor":"2"},{"variable":"D4","valor":"1"},{"variable":"P1","valor":"5"},{"variable":"P2","valor":"5"},{"variable":"P3","valor":"5"},{"variable":"P4","valor":"5"},{"variable":"P5","valor":"5"},{"variable":"P6","valor":"5"},{"variable":"P7","valor":"5"},{"variable":"P8","valor":"5"},{"variable":"P9","valor":"5"},{"variable":"P10","valor":"5"},{"variable":"P11","valor":"5"},{"variable":"P12","valor":"5"},{"variable":"P13","valor":"5"},{"variable":"P14","valor":"5"},{"variable":"P15" |
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
{ | |
"fecha":"14\/02\/2018 05:14:53", | |
"instrumento":"1", | |
"respuestas":[ | |
{ | |
"variable":"G1", | |
"valor":"1" | |
}, | |
{ | |
"variable":"G2", |
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
2020-06-10 21:33:24.039 4687-4709/? E/system_server: Invalid ID 0x00000000. | |
2020-06-10 21:33:24.075 32212-32212/? E/rg.givesafe.ap: Unknown bits set in runtime_flags: 0x8000 | |
2020-06-10 21:33:24.363 4049-32284/? E/ResolverController: No valid NAT64 prefix (201, <unspecified>/0) | |
2020-06-10 21:33:24.371 4049-32286/? E/ResolverController: No valid NAT64 prefix (201, <unspecified>/0) | |
2020-06-10 21:33:24.749 4109-5652/? E/BufferQueueProducer: [com.android.settings/com.android.settings.applications.InstalledAppDetails#0] disconnect: not connected (req=1) | |
2020-06-10 21:33:25.245 4049-32347/? E/ResolverController: No valid NAT64 prefix (201, <unspecified>/0) | |
2020-06-10 21:33:25.351 32212-32212/org.givesafe.app E/rg.givesafe.ap: The String#value field is not present on Android versions >= 6.0 | |
2020-06-10 21:33:25.398 32212-32212/org.givesafe.app E/COMMUNITY_ACTIVITY: Error trying to restart beaconHolder service on community screen | |
2020-06-10 21:33:25.558 32212-32212/org.givesafe.app E/COMMUNITY_ACTIVITY: Error trying to |