Questions tagged as 'class'

2
answers

convert an object to json in swift

I am currently wanting to convert an object into swift of this class class UsuarioServer{ var username:String? var password:String? var nombreCompleto:String? var direccion:String? var edad:String? init (username: String, password: String, no...
asked by 24.06.2018 / 10:33
0
answers

Problem in ClassCastException from RelativeLayout $ LayoutParams to RecyclerView $ LayoutParams

When running the following line on android: recyclerView.getChildAdapterPosition(view); Skip the following Exception: java.lang.ClassCastException: android.widget.RelativeLayout$LayoutParams cannot be cast to android.support.v7.widget.Rec...
asked by 24.11.2018 / 12:17
0
answers

Refer to a widget outside the class - Tkinter - Python3.6

I have an application where I have my main code in a file called main.py and the functions and classes in another file called events.py. Well I have a class like this and what happens to me is that anywhere in the code I can put self.label and I...
asked by 02.11.2018 / 13:28
0
answers

Laravel - View Composers - View composer class - Class not found

I'm working on my first Laravel project and wanting to generalize a bit the views I'll get over the next mistake I do not understand. Create my composer class: namespace App\Http\Composers; use Illuminate\Contracts\View\View; class...
asked by 22.10.2018 / 15:50
0
answers

Cellphone api7 problem with Android Studio

I try to run my app on my cell phone but I get this message: The following classes could not be instantiated: - android.support.v7.widget.ActionBarContainer (Open Class, Show Exception, Clear Cache) - android.support.v7.widget.ActionBarContex...
asked by 12.09.2018 / 12:14
1
answer

Android Studio Google preconditions

I'm starting in Android studio making small applications and trying new things. Until last night, Android Studio worked correctly and I did not have any problem, but today, when I turn on my computer and want to open my project it shows me the f...
asked by 07.09.2018 / 16:32
0
answers

Problem when moving from XML to PDF with Aspose.pdf JAVA

I am creating a class to create a PDF through XML. All this I need to do with Aspose.pdf. I have imported the necessary libraries and included in the pom.xml the repository and the corresponding dependency. <dependency> <groupId&g...
asked by 11.09.2018 / 10:16
1
answer

how to mix two CLASS in one image?

I have two css where each one gives a different action to the images, and what I want is to know if you can join the two in one line of code, or make another class where the mescle. one is zoom that the download deinternet is from zoomy.css th...
asked by 30.06.2018 / 05:48
1
answer

Why does NullPointer give me error when checking data? [duplicate]

import java.util.Scanner; import java.util.ArrayList; class Persona{ private String nombre; private int id,edad; static Persona global = new Persona(); public Persona(){} public Persona(Stri...
asked by 03.07.2018 / 00:00
1
answer

PHP Abarque div and span

good day community, I have a problem: I want a div and span to be inside PHP, since they perform a function and I need it, or with some other method to make it work. <div class="alert"> <span class="closebtn" onclick...
asked by 23.06.2018 / 22:26